1. Knowledge Base
  2. >
  3. Results
  4. >
  5. Article

WordPress: How to Enable or Disable WP_Debug

  1. Log in to your Domains Dashboard.
    Login to your Domains Dashboard
  2. On the dashboard, select the domain to determine first your WordPress files location.
    There are two views in the Domains dashboard - the Card and List views. Click on the view icons to switch to your preferred view. 
    Card View, click Manage
  3. Choose the domain you wish to modify.  
    In the Card view, click the domain's Manage button.

    Domain Dashboard - Card View

    In List view, click the domain or its gear icon on the right-hand side.

    Domain Dashboard - List View

  4. Hit Pointers & Subdomains.
    Pointers & Subdomains
  5. The next page will show you the directory or path where the WordPress files are in.
    Directory
  6. Next, go to your Hosting Dashboard.
    Hosting Tab
  7. Go to File Manager on the left pane.
    FileManager
  8. In the highlighted Directory, look for the name of the folder where the files are.
    Directory path
  9. Locate the wp-config.php for your WordPress file, then click on the three-dotted options, then Edit.
    wp-config.php file
  10. To Enable WP_Debug, change the last line to: define( 'WP_DEBUG', true ).
    WP DEBUG
  11. To Disable WP_Debug, change the last line to: define( 'WP_DEBUG', false ).
    WP DEBUG false
  12. Click Save for the changes to take effect.
 
Back to top.

Are there more debugging tools?

WP_Debug as designed to work with additional tools, which are enabled the same way as WP_Debug.

define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);

Learn more about WP_Debug_Log and WP_Debug_Display by visiting WordPress.org.

Important: WP_Debug_Log will store records of your error messages on your hosting account. These records take up disk space, so we recommend only having it active while you are troubleshooting your website. If you leave it on for an extended period of time, you could run the risk of eventually violating our normal usage policy.
 

Want to learn more about WordPress?

You can always check out WordPress.org and browse their codex or online help forums.

 

yieldmanager

Thanks for visiting! Since you landed on this page of our website, we wanted to let you know you visited one of our paid endorsers while researching your purchase. close