MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length



SMF - Just Installed!

Author Topic: How to enable error reporting in Wordpress site while site showing blank page?  (Read 3210 times)

0 Members and 1 Guest are viewing this topic.

Offline Dipak Bhoi

  • MilesWeb Team Member
  • Full Member
  • ***
  • Posts: 208
  • Karma: +5/-0
    • View Profile
    • MilesWeb Internet Services
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.

define( 'WP_DEBUG', true );

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

Enjoy !!
cPanel Hosting in India - cPanel Hosting in India.

Grab an SSL for your website and SAVE 20% now. Coupon Code SSLSAVE20.

MilesWeb Hosting Forum