How to Enable Error Reporting in WordPress

In this extremely simple video and tutorial, we are going to enable the display of PHP errors to help us diagnose a problem.

If your site crashes, you need to be able to view any PHP errors that are going so you can get back on track. Follow this tutorial to learn how.

  1. Using an FTP program or the file explorer in your cPanel, navigate to wp-config.php usually located in your website’s root folder.
  2. Scroll to near the bottom of the file content until you find this line: define('WP_DEBUG', false);
  3. Change that line to instead read: define('WP_DEBUG', true);
  4. Save your changes.

You should now be able to see any PHP errors that your site is having when you visit it. If your site appears to have crashed or is down, please view our comprehensive guide on how to get your WordPress site back online.


Need help getting your WordPress site back online?

We know everything about WordPress and have helped hundreds of people get their websites back online.


Contact Us