Hosting, Troubleshooting


This feature is available on sites with the Business or eCommerce plan. If your site has one of our legacy plans, it is available on the Pro plan.

Your plugin or theme developer may have asked you to provide them with debugging logs (also known as WP-DEBUG).

These logs are turned off by default, as leaving them on can lead to some very very large log files, which can slow down your site and will count against your storage limit.

Enable Debug logs

You can turn Debug logging on by making an edit to your site’s wp-config.php file, by following the steps below.

Connect to your site via SFTP.

Once connected, look for your site’s wp-config.php file.

Open this file in the text editor of your choice.

By default, logging is turned off, so you’ll see a line that says:
define( 'WP_DEBUG', false );

Remove that and replace it with the following:

define( 'WP_DEBUG', true );
 if ( WP_DEBUG ) {
        @error_reporting( E_ALL );
        @ini_set( 'log_errors', true );
        @ini_set( 'log_errors_max_len', '0' );
        define( 'WP_DEBUG_LOG', true );
        define( 'WP_DEBUG_DISPLAY', false );
        define( 'CONCATENATE_SCRIPTS', false );
        define( 'SAVEQUERIES', true );

Save your changes and make sure the updated file is on your site.

Once errors are generated, a debug.log file for your site will appear in your wp-content folder. You can access this file via SFTP and send it to your plugin/theme developer.

Once done, don’t forget to turn debugging off!

Remove the code you added to your wp-config.php file earlier to turn it on, and replace it with define( 'WP_DEBUG', false );

Not quite what you're looking for?

Get Help