Okay
  Print

Enabling WP_DEBUG in WordPress

WP_DEBUG is a PHP constant  that can be used to trigger the “debug” mode throughout WordPress.  When we enable WP_DEBUG, it will display any PHP error on the front end. This is the most useful tool when troubleshooting your site for errors. 

It is hard for you to find the problem when your site has error and what you see in front-end is just blank screen or content missing. The recommendation for you is to enable this plugins on all your site. You can find directly and collectedly the error when you try to install a new plugin or update a theme. Then what you have to do is to fix it yourself or contact the developer.

Below are the steps required to enable WP_Debug for your WordPress installation.

  1. Access your website’s root folder via FTP or SFTP
  2. Locate the wp-config.php file
  3. Open this file in a text editor (I prefer SublimeText)
  4. Search for “WP_Debug” and if you find it set the value to true if currently set to false
  5. If you didn’t locate “WP_Debug” scroll down near the bottom of the file and add the following code right before the line that says “# That’s It. Pencils down”

See more:  Troubleshooting WordPress in 60 seconds