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.

7 thoughts on “Blank Page in WordPress, How To Fix It and Where To Look”

  1. 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.

  2. 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

  3. Did not work for me quite the way I expected. I had to use the inspector to view the error, which is kind of strange.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>