Somehow the issue disappeared overnight. Woke up this morning and now seeing the standard '500 Server Error' page from Laravel without any additional changes to config files. Probably some sort of additional cache on my EC2 Instance
Jan 6, 2021
1
Level 3
Laravel shows Symfony-styled exception even when APP_DEBUG set to false
Hi all,
Just deployed a new app to production and seeing a strange bug:
One of the pages has a PHP error and throws an exception. Strangely, it's a Symfony branded exception page, different from the ones I've seen in Laravel before. Env file is already set to production environment and has APP_DEBUG=false.
Does anyone know how to fix this?
I've tried the following to clear & reset cache, but it didn't help
php artisan config:cache
Not sure if it matters, but the app was deployed using http://deployer.org using Deployer's Laravel recipe
Please or to participate in this conversation.