Cannot turn debug mode off

After upgrading, in the browser I still see that debug mode is turned on. I’ve verified multiple times that it says false in the .env file, and I’ve tried adding “?clear_cache=true” to the end of the URL, which also has not helped.
Any other ideas?


Please check that APP_DEBUG is set to false in the .env file

Yes, sorry if that was unclear… it does say this exactly in the env file (copy/pasted)

It may help to run php artisan optimize

@david any thoughts?

Was trying to avoid that since this is on shared hosting, so I need to ask the host.
Isn’t that the purpose of the clear cache url addition? Any other methods?

You can try loading /update?secret=

That did the trick! Thank you.

1 Like