Exception UI not showed as expected #52674
Unanswered
msulaimanmisri
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Laravel Version
11.22.0
PHP Version
8.3.10
Database Driver & Version
No response
Description
So I update my Laravel application from version 9 to version 11. I followed the best practices when it came to upgrading the Laravel version. Which is to update by sequence. I do Laravel 10 first and check everything. Then upgrade to Laravel 11.
After I upgraded to Laravel 11 (to be precise, 11.22), the Exceptions error not showing in a proper way. Seems like it can't read the styling. I tried to run a few commands such as
composer install
,composer update -w
,php artisan optimize:clear
and others that I can think of. But none working.I've tried to remove and re-clone again the repo. But none works. After a few hours of digging into the problem, I tried to install the spatie package named
spatie/laravel-ignition
. And right after that, the Exception page worked as expected.Can anyone help me to explain how this happened?
Here I attached the Error image before and after the spatie package installation.
Before :

After :

Steps To Reproduce
In my case, I start with Laravel version 9.19. Then Laravel 10.4. Finally upgrade to Laravel version 11.22
Beta Was this translation helpful? Give feedback.
All reactions