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?

Hi,

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)
APP_DEBUG=false

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

I did APP_DEBUG=“false”

Can you be more specific…
UPDATE_SECRET=******
How the exact code should be

If you make changes to the .env file you may need to reload the cache by loading yoursite.com/update?secret= in the browser.

I am tired of issues now with Ninja… GIVE UP! Even after the update, I am unable to get back to my email issues resolved and now after the update some more new issues coming up