-
So I have been reading all issues about this and trying for hours, but can't seem to fix it with the current information. The error I'm getting is;
I have followed the upgrade guide and copied the default app/Exceptions/Handler.php file but I still get the error. Tried removing the vendor folder and running composer install, composer update, composer dump-autoload but nothing seems to fix the issue. Running on php 7.3.14 Am I looking in the wrong direction? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
you just replace Throwable with Exception, this issue will be solved |
Beta Was this translation helpful? Give feedback.
-
Hi @Voorsie, To make things more performant, Laravel caches quite some stuff in Normally you can use So try removing the file manually, and you should be good to go. |
Beta Was this translation helpful? Give feedback.
-
This particular exception may be caught and handled by laravel... |
Beta Was this translation helpful? Give feedback.
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.