Quantcast
Channel: Techie Buzz » WordPress Tips
Viewing all articles
Browse latest Browse all 12

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

$
0
0

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.


Blank Page in WordPress, How To Fix It and Where To Look originally appeared on Techie Buzz written by Keith Dsouza on Friday 20th August 2010 12:23:33 PM under How To. Please read the Terms of Use for fair usage guidance.

The post Blank Page in WordPress, How To Fix It and Where To Look appeared first on Techie Buzz.


Viewing all articles
Browse latest Browse all 12

Trending Articles