Skip to content

Handler::report(Throwable $e) must be compatible with... #33098

Answered by denjaland
Voorsie asked this question in General
Discussion options

You must be logged in to vote

Hi @Voorsie,

To make things more performant, Laravel caches quite some stuff in /bootstrap/cache. I ran into the same issue before, and removing the /bootstrap/cache/compiled.php might actually resolve this.

Normally you can use php artisan clear-compiled to remove the compiled class file, but you're trapped in a catch 22 because in order to run the command, Laravel will use... the compiled cache file throwing the error you got.

So try removing the file manually, and you should be good to go.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@Voorsie
Comment options

@mfn
Comment options

Comment options

You must be logged in to vote
1 reply
@Voorsie
Comment options

Answer selected by Voorsie
Comment options

You must be logged in to vote
1 reply
@denjaland
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants