When you deactivate the plugin it should restore whichever constants you had previously defined. There is a setting to not display the messages on the front end too.
If you edit wp-config.php you should see which constants are still defined and can remove them.
Hmm…I can’t seem to make the display go away at all now.
Are you saying “Set WP_DEBUG_DISPLAY to false, default is true.” should be checked?
It is checked, yet I still see the display.
Yes, if WP_DEBUG_DISPLAY is false then any message out when WP_DEBUG is true would not be displayed.
Can you look at your wp-config.php file and share the constants that are defined that relate to debugging? Do not give anyone access to see the whole file.
Do I use an FTP for that?
It depends upon you setup. You could install a plugin like Query Monitor and see what it reports under Environment.
Also, under Tools > Site Health, do you see a ‘critical’ issue ‘Your site is set to display errors to site visitors’
It does state ‘Your site is set to display errors to site visitors’ under site health.
This is what it says under environment:
WP_DEBUG true
WP_DEBUG_DISPLAY false
WP_DEBUG_LOG true
SCRIPT_DEBUG true
The above settings should not display errors on the front end.
Can you screenshot an example of what you see on the frontend? I went to the site and didn’t see anything on main page.
I don’t see any errors when I go to the site. You might try a private browser window or incognito window as it might be your browser or site cache.
Hi Andy,
I was able to get the error removed from the frontend. However, if I deactivate the plugin, I get the error in my Site Health section telling me errors will be displayed on the front end. Also, in the query, DEBUG_DISPLAY and WP_DEBUG return to true upon deactivation. Is there a way to resolve this manually within the system files? If so, can you give me explicit instructions?
Thank you,
Amanda
These settings must have been defined in your wp-config.php file before WP Debugging was activated.
You will need to edit your wp-config.php file and delete the entries related to WP_DEBUG_DISPLAY and WO_DEBUG. FYI the default value for WP_DEBUG_DISPLAY is true.
To be explicit, delete the line define('WP_DEBUG', true);
-
This reply was modified 5 years, 6 months ago by
Andy Fragen.