Loading...

Knowledge Base
 Up to 70% off  on  WordPress  hosting for WordPress Websites and Stores!

How to Enable WP_Debug

Overview

Debug mode is highly useful in troubleshooting a WordPress site that is showing errors or not working correctly. Enabling debug will help you identify the cause of the issue. This article will walk you through enabling debugging using the wp-config file.

To begin, you will need to access the Bluehost Account Manager.

  1. Click Hosting on the left navigation menu.
  2. Scroll down and look for the Quick Links tile and select the CPANEL button.
  3. Locate the File Manager tool under the Files section.
  4. Navigate to the broken website's folder.

    Note: If this is not the primary domain, identify which folder the broken website is being hosted in.

  5. Locate the wp-config.php file.
    rock-wp-config-php
  6. Right-click this file, then choose the Edit option.
    rock-filemanager-edit
  7. New windows appear, and click the edit button again.
  8. Scroll down to locate the define( 'WP_DEBUG', setting.
    legacy-and-rock-wp-debug

    Make sure to update the define( 'WP_DEBUG', setting to reflect this:

    define('WP_DEBUG', true);
  9. Click the Save Changes button when finished.

If you need further assistance, feel free to contact us via Chat or Phone:

  • Chat Support - While on our website, you should see a CHAT bubble in the bottom right-hand corner of the page. Click anywhere on the bubble to begin a chat session.
  • Phone Support -
    • US: 888-401-4678
    • International: +1 801-765-9400

You may also refer to our Knowledge Base articles to help answer common questions and guide you through various setup, configuration, and troubleshooting steps.

Did you find this article helpful?

 
* Your feedback is too short

Loading...