How To Disable Debug mode?

WordPress Debug mode is normally used for the development purposes and it should not be enabled on your production website, to disable debugging mode in WordPress, follow these steps:

1. Log into your hosting account and launch File Manager.
2. In the public_html folder, find and open wp-config.php.
3. In the wp-config file, you’ll find the following line of code:

define( 'WP_DEBUG', true );

You’ll have to replace ‘true’ with ‘false.’ It looks like this:

define( 'WP_DEBUG', false );

If you changed the above line and you are still seeing the debug messages, then the server may have other debug report options enabled and you can try to disable them by adding the following code snippet into the same file “wp-config.php” (just after the line that you previously changed):

ini_set('error_reporting', E_ALL );
define('WP_DEBUG_DISPLAY', false);

If you made all these changes and you still seeing the debug messages and notices then the option may be enabled by default on your server and it may require special configuration to be disabled, we recommend you in this case to contact your hosting provider and ask them to disable the debug mode on your server.

Essentials support team

Hey, this is pixfort support team, if you still need help you can always reach us via the chat messenger in your account on pixfort hub

Related Posts