MilesWeb Hosting Forum

Web Hosting Technical Support => How To's => Topic started by: Dipak Bhoi on October 28, 2014, 01:01:23 PM

Title: How to enable error reporting in Wordpress site while site showing blank page?
Post by: Dipak Bhoi on October 28, 2014, 01:01:23 PM
Hello Guys,

Most of the time after installing and updating some plugins, ideas, and so on website suddenly shows blank page instead of expressing an error or warnings.

WP_DEBUG is a PHP constant (a permanent global variable) that can be used to trigger the "debug" mode throughout WordPress. To allow the WordPress website you need to set it as true in wp-config.php.

Add the line in to file as below.

Quotedefine( 'WP_DEBUG', true );

Save and close the file. Now refresh website page, It will show the error or warnings. That's it.

Enjoy !!