Blank Page in WordPress, How To Fix It and Where To Look

If you are a WordPress user there might be a chance that you might have come across a blank screen on your website or blog. For those who are not in the know a blank screen appears on a website or blog running WordPress whenever there is an Fatal PHP Error with a plugin or theme.

Blank WordPress Error Message

Several users might see blank screen in WordPress after they have upgraded to a new version of WordPress, installed a new plugin or changed their themes. Many users are perplexed when they see a blank screen and do not know what to do. However, a blank screen only appears when there is a fatal error while running a PHP script.

The reason users see a blank screen and not error messages is because WordPress hides all PHP related error messages. So the first thing to do after you see a blank screen on your website or blog is to turn on error reporting on WordPress.

To turn on error reporting, login to your FTP server and edit wp-config.php and add this line to it.

define('WP_DEBUG', true);

Once you have added this line to the wp-config.php file, refresh your website and you will see the error messages that are causing a problem with WordPress loading your website.

blank_wordpress_error_messages

This will make it easier for to figure our what is wrong with your site. Once you know where the error is, you can delete or remove the offending plugins or have someone look at the error messages to rectify the problem that is causing your site to not load.

Make sure to delete the WP_DEBUG line from the config file after you have fixed the error, or else you might also start seeing PHP Notices and Warnings.

  • Share

Related Topics Similar to This Article: »

Recent Activity: »

Comment Using Facebook

5 Responses to this Article | Share your Opinions/Comments

We moderate comments to prevent spam. Moderation is done within few hours. Please try and stay on topic and refrain from using abusive language. If you think there is a problem with this post, please email the post author or send us an email at tips@techie-buzz.com with the URL and the problem you see and we will rectify it as soon as we can.

  1. Pallab De on August 20th, 2010 at 12:54 pm #

    The infamous “White Screen of Death”. I was struck by it once. Took me 24 hours to fix it. One of my theme files had an extra space.

  2. David on November 29th, 2010 at 10:57 pm #

    I am having trouble posting to several WordPress sites. I get a blank screen with URL wp-comments-post.php. Is this a problem with the WordPress site or is it something on my end? The main reason for my question is because I am experiencing this problem across so many WordPress sites. Thanks.

  3. tommy on May 22nd, 2012 at 3:58 am #

    I got this problem when I add new user at back-end. There’s nothing appear after I press ‘Add New User’ button. It took me 3 days, plz help me