Friday, July 5, 2013

How to enable WordPress Error Reporting

In this post i will show you how to enable Wordpress Error Reporting , below all steps :

1) Open wp-config.php file
2) Comment out the top line there
3) add the rest to your wp-config.php file to get more detailed error reporting from your WordPress site.

// define('WP_DEBUG', false);

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors', 0);

Note: Don't do this on live websites, do it for local development and testing.
Disqus Comments