Search code examples
laravelnginxlaravel-5.3laravel-5.4

Laravel - Error page is blank after update from 5.3 to 5.4


I have updated Laravel from 5.3 to 5.4. Error pages are white and do not display an error after update. I am using a local server. The specifications:

OS: Ubuntu 16.04
Nginx/1.9.15
PHP 5.6.11

I read the this question (Laravel blank white screen) and I have tried solutions:

# Group Writable (Group, User Writable)
$ sudo chmod -R gu+w storage

# World-writable (Group, User, Other Writable)
$ sudo chmod -R guo+w storage

And other solutions have been proposed. But the problem persists!

Also, Application debuggin in .env and config/app.php is true.

Who can help?


Solution

  • After update your laravel you may clear all your cache and your compiled page. Try to do this:

    php artisan view:clear
    php artisan cache:clear
    php artisan config:clear
    php artisan route:clear
    php artisan clear-compiled
    php artisan optimize