Dev mode is forced
-
I’ve noticed that error messages (from other plugins) have started appearing on a clients site of mine. These messages are from WP core which are only output to the screen when debugging is on. I can confirm that debugging is turned off.
What I have found is the config/app.php file is setting the environment in this plugin to “dev”. This is then checked as part of the WPFluent package if it isn’t “prod” (which it isn’t) and then tells WP that it is ok to show errors on the screen!
Can you confirm if this is simply an oversite at your end or is there a configuration issue with how this plugin is installed on the site? I couldn’t see anywhere in the DB, plugin UI, or in the code itself to change the environment to “prod”.
The topic ‘Dev mode is forced’ is closed to new replies.