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.php 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 );

wp-config File

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('display_errors','Off');
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.

pixfort
pixfort
Support Team

Hey, this is pixfort support team, if you still need help you can always reach us via your pixfort account

Related Posts

Search

Start typing to search for a specific article on our website

Made with Popup Builder
Image link
Hey there

Search for a specific article

Get started

Check useful guides to get started

Still need Help?

Send us a support message

Our usual reply time: 1 Business day