So you got the WordPress white death page?

One of the facts you will have to face at some point while working with wordpress is that you will get the blank white page, instead of your amazing stylezed site. first thing, relax. You have probably made something just before it happaned,installed a plugin or defined it. So, what to do? Good you asked.

First thing, after you stabelized your breath, try to go back in time and undo the last thing you did:

  1. in the dashboard, turn off the plagin you just installed or defined.
  2. in case this doesn’t help, you can totally remove it.


These steps are easy. In the dashboard in the plugins page you have a link to turn it off. Now check your site. Is it back to normal? if so, great. If not, you might want to delete the plugin totally.

For that you will need an FTP client. Open it and go to the plugins directory. Right click on it and delete it. done !!!

If you still get the white draded page, you need to turn on the error report on your site in order to debug what’s going on. This step should be done, preferably not on your live site but on a local copy. But sometimes there is no choice, especially if the white page is on your dashboard, making the whole admin area inaccecible for you.

So log in with your FTP client and open the file wp-config.php, find the line:

 define('WP_DEBUG', false);

 disable it by putting two forward slashes before it, like so:

// define('WP_DEBUG', false);

 And just after it, in the next line write:

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors', 0);

 Ideally you shouldn’t display the error messages on screen, but write it into a log file. but for a fast and quick fix, you can write it to screen.

Check your site. Now you can see detailed information about what is wrong: which piece of code makes the problem, on what page and line and so on. If you are the one who write the code, what are you waiting for, fix the problem, it’s your job. If you don’t , call the one who write or know how to write code, and make him fix the problems.

After the fix, don’t forget to disable the error display again. As i said, it is preferable to do all this on your local machine and not on the remote server (the live site).

Congratulations, now your site is up and running again as if nothing ever happaned.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.