Found the bug!!
Turns out my environment settings had Deubg = "FALSE" instead of Debug = FALSE. The Boolean was being evaluated as a string and was always returning true.
Thanks!
Hello,
I was playing around yesterday with my app and trying to have it show the PrettyPage debug page only to admins. I was unable to do this and reverted my project back to the master branch that is running on my production servers. Since yesterday I am unable to get my laravel installation to show the default "Whoops something happened page". It always shows the Pretty page with the full stack trace and displays the environment variables. I have been debugging for about 4 hours and cannot find the issue. I have tried reverting my code, cloning the master branch to a new directory and trying again, restarting my computer, restarting apache, mysql, starting and stopping the built in artisan server a million times, re-running composer update to reinstall all the dependencies and I am still unable to figure out the root cause.
When the pretty page handler is displayed it shows that my configuration reads Debug False and even says that my Environment is configured Debug False yet the incorrect debug page is still displayed.
Has anyone had this issue before? How would I go about further debugging this issue?
Thanks for your help!
Found the bug!!
Turns out my environment settings had Deubg = "FALSE" instead of Debug = FALSE. The Boolean was being evaluated as a string and was always returning true.
Thanks!
Please or to participate in this conversation.