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.
- Using an FTP program or the file explorer in your cPanel, navigate to wp-config.php usually located in your website’s root folder.
- Scroll to near the bottom of the file content until you find this line:
define('WP_DEBUG', false);
- Change that line to instead read:
define('WP_DEBUG', true);
- 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.