The famous WordPress white screen of death

Like mentioned in the title, i think this is by far one problem Automattic or WordPress team cannot solve until no matter what version WordPress will go in future. In this question, i am focusing to the white screen of death that i get whenever i want to activate certain plugins. I am developing a site that requires me to use 30 plugins. Yeah, some will say thats too many plugins for a site, no wonder i will get the white screen. But hey, this is WordPress, one of the reason that makes WordPress the most popular blogging platform is because the availability of the plugins that can make you achieve your goal in less time. For those who expert in php+wp development, you guys can say hack the wp is better than using a lot of plugins like what i am doing but hey, majority of wp users are not php guru. Most of them are normal user like me or even just know how to install and use what are available to them.

So far, here the common steps we do when get the white screen of death (WSOD).

  1. Rename the wp-content/plugins folder name such as wp-content/plugins-temp, this will deactivate all plugins
  2. Like me, i prefer rename the individual plugin folder name, such as wp-content/plugins/akismet to wp-content/plugins/akismet-temp
  3. After that, reactivate all the plugins one by one, so we can know which plugin is the culprit
  4. Check for extra empty space at the end of the plugin file, especially after the php closing tag ?> make sure there is no extra space after the tag. Make sure check at the theme functions.php file (if any) or the plugin file.
  5. Increase the memory allocation for wordpress

Usually, your site will be back to normal after that. BUT this will still not solve this problem.

For me, this is very annoying to me, especially the step number 3. How can we know which plugin is the culprit?? At the first place, i thought the step number 3 is really a fact but now i think its a lie. WHY?

Like right now, suddenly after i activate 25 plugins, one of plugin that i cannot reactivate is Akismet. What? Akismet? Yes, the plugin dev by the WP team itself. I know the step number 3 above is a lie because if i activate Akismet first, the Akismet is activated successfully. No problem at all.

So right now the problem is plugins compatibility among the plugins. How can me as a normal user can identify which plugin that is not friendly to what plugin??? If i am using 30 plugins, how many probabilities from one plugin is not compatible to each plugin???? how can i know which plugins should be activated first so the WSOD will not appear?

If there is error, then maybe i can have a clue, but its a plain white screen. I am clueless. This clash of plugins in wordpress is really an unsolved problem that makes me really stress.

Anyone know how to fix this? At least know how to activate the plugins via mysql?

4 s
4

To get WordPress to display errors, edit the wp-config.php file to say

define( 'WP_DEBUG', true );

By default, this is set to false and should be towards the bottom of the file. That will allow you to see which errors are being produced.

Also, whitespace at the end of files almost never causes the WSOD; that’s what causes the ‘Headers already sent’ errors in feeds, etc.

Given your description, I can only think of two possibilities for why Akismet is causing errors:

  1. You’re over the memory limit
  2. Another plugin might be using a function that Akismet uses, causing a ‘Cannot redeclare user-defined function’ error

Try turning WP_DEBUG on and come back if you have questions.

Leave a Comment