Blank Page in WordPress, How To Fix It and Where To Look
By on August 20th, 2010

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.

Tags: , , , ,
Author: Keith Dsouza Google Profile for Keith Dsouza
I am the editor-in-chief and owner of Techie Buzz. I love coding and have contributed to several open source projects in the past. You can know more about me and my projects by visiting my Personal Website. I am also a social networking enthusiast and can be found active on twitter, you can follow Keith on twitter @keithdsouza. You can click on my name to visit my Google+ profile.

Keith Dsouza has written and can be contacted at keith@techie-buzz.com.
 
Copyright 2006-2012 Techie Buzz. All Rights Reserved. Our content may not be reproduced on other websites. Content Delivery by MaxCDN