Fixing Blank, Empty or White WordPress Pages after Upgrade

by Michael Sheehan on June 10, 2009

in Fix It, General, Software

Just a few hours ago, WordPress 2.8 was release to the general public (for the self-hosted version). I was notified within my admin portal and, after I did a quick database backup and downloaded all of my blog’s files, I clicked on the upgrade button. After a few seconds, WordPress told me that everything was successful. I was pretty amazed at how quickly the entire process took. Note: this is NOT unique to just WordPress 2.8 but also other releases of WordPress!

NOTE: I can help you fix your WordPress (self-hosted) issues. Read the information at the end of this article for more details!

So, I went to my blog’s main page to ensure that everything was working, and this is what I saw:

empty_page

That’s right, absolutely NOTHING. Some people have referred to this as the “WordPress White Screen of Death“ or the “Blank Screen of Death“ or just “WSOD“. I went to the login page and it too, was not working. Ouch!

But after a few minutes of quickly troubleshooting (since I had been through this before), I corrected the issue. Here are some troubleshooting and fixes you might want to try if you encounter this issue. I hope that you find a solution within this list. If you do, please leave a comment and let me and other readers know! There are three things that you can try: plugins, wp-config and wp-settings. (There may be others but these are ones that have been proven to be culprits.)

Plugins – usually, after an upgrade, a plugin is the culprit. One way to quickly check to see if one of your plugins is problematic is to do the following:

  • Rename “plugins”folder TEMPORARILY to something else – I changed my plugins folder to “plugins_temp” and then tried the login page again and was able to see it, so, immediately I knew that I had an issue with one of my many plugins. Note that once you log into WordPress after renaming the plugin folder, WordPress will automatically disable ALL of your plugins as a safety precaution. The problem is, in order to do the next step, you need to remember which ones you had active. Be sure to change the name of your plugin folder back to its original name of “plugins”
  • Enable all your plugins at once – Once you are back in to the plugins section of the WordPress admin, and all of your plugins have been automatically disabled because of the step above, you can try this option by “bulk enabling” all of your plugins. WordPress should enable anything that doesn’t crash it and will disable any plugins that produce “fatal errors.” If any of your plugins are automatically disabled, they could be your culprit.
  • Enable plugins one at a time - Optionally, if you are having trouble with the “bulk enable” step above, you could try to enable each plugin one by one.

Once you identify the problematic plugin or plugins, see if they have been updated. If they have, delete the ones on your server and replace with the newer versions. Hopefully that will work. Otherwise, just leave the bad plugins de-activated until they are updated.

Empty Line in wp-config.php file – one thing that you should check is the wp-config.php file (obviously, make sure that it is in the WordPress directory, AND that it has the proper DB information). Scroll to the last part of your wp-config file and double check that there is no extra space after the closing “?>” tag. IF there is a trailing space before the actual end of the file, delete that space so that you are sure that your file truly ends with that tag.

Good:

// Get everything else
require_once(ABSPATH.'wp-settings.php');
?>
-END OF FILE-

Bad:

// Get everything else
require_once(ABSPATH.'wp-settings.php');
?>

-END OF FILE-

Tweak your wp-settings.php file – First, I don’t recommend really messing around with this file as it is pretty critical to the smooth operation of WordPress. However, I had noticed that when I migrated my blog over from a different hosting provider to a new one (in this case, BlueHost), that when I was activating some of my plugins, I was receiving the following error “Allowed memory size of 33554432 bytes exhausted” and the plugin was not activating. The way that I corrected that issue was by editing the “WP_MEMORY_LIMIT” setting within the wp-settings.php file. The WordPress “out-of-the-box” settings for this is “32M”, which explains why the memory size was exhausted (by this point, I was pretty exhausted as well). Note, that this error may be different for different hosting providers and may manifest in other ways.

So what I did, and what fixed the blank screen issue for me in the past and with this latest WordPress upgrade, was to change the value of WP_MEMORY_LIMIT from 32M to 64M. After I did that, everything worked just great!

wp_settings_change

So, my fix took actually all of about 2 seconds, but several hours of research, testing and tweaking to get to that fix.

Update: 12/27/10 – As I have now fixed quite a few of these issues on a variety of WordPress blogs, I have found that the items mentioned above might NOT correct your issue. You may have a script that is infecting your PHP files (I can help remove those), or you may have an issue with a theme or plugin. Additionally it may be another issue. But I can definitely help out. Read the NOTE below for details.

Note: I have received many requests for help each time a new version of WordPress comes out. I have helped a few people out but please realize that this does take time away from me writing reviews and other articles. However, I want to help, so I have come up with the following solution: I will ask for a $35 “up front fee” for me to review your FTP account and WordPress environment. After I receive that initial fee, if I can fix it, I will let you know and you can decide if you want me to proceed with the fix (for an additional fee typically starting at an additional $25). Depending on the amount of work, the additional fee could be a bit more (I haven’t charged more than $200)…but I’m not here to gouge you, just to get your WordPress blog back up and running. I will also keep you in the loop of what I am doing so that in the future, you can do it on your own. If you want my help, please fill out my WordPress Issue Form and I will get back to you quickly. You will need to provide me with both your FTP login information and WordPress admin credentials (which you can change after I fix or review the issue). I have helped people recover from iFrame viruses to reinstalling WordPress, so far with complete success!

Anyway, those are 3 things that you can test: Plugins, wp-config and wp-settings. If you find a fix that is different, please be sure to let me know!

Did you find this solution useful? If so:

HTD Says: Be sure to follow Douglas Adams famous words of DON’T PANIC if you get the WordPress White Screen of Death. It is fixable!

Related posts:

  1. I wish a WordPress Developer would make the following plugin
  2. WordPress: People can view your Plugin Folder unless you fix!
  3. Blog: TechDadBlog updated to WordPress 2.3 with some issues
  4. How to Move a WordPress Blog from One Domain/Host to Another
  5. WordPress update: Version 2.2.3 released with Security Fix

  • nana

    renaming plug-ins did the trick. Thank you HighTechDad.

  • prazetyo

    thank you very much. today my wordpress font page and wp-admin got blank. after I try your advice to rename plugins folder to other name, I can access my wordpress again. Thank you very much.!!

  • Nurpanca

    ok i'll try it, and this is my blog http://www.dimasnurpanca.com , and my blog is error, and i'll try it! thanks dad :D

  • Thonet23acuesta

    thanks alot for this great idea… it really solves my problem in my site

  • Billy

    I got the blank screen after updating to wordpress 3.0.1 . The renaming myplugins folder and then going back to the admin panel brought it back up just fine. Then i just went back and renamed the plugins folder back to normal plugins and presto everything is back to normal…yes i had to update a couple plugins and activate them but that is simple simple. Thank you so much for posting this fix. My site is http://www.theinternetsaredown.com

  • kadir

    Hi there ,

    I had this problem with 3.0.1 and renaming the plugins folder helped indeed !

    In addition to that I could easily troubleshoot that it was the outdated plugin:
    WordPress Backup (by BTE)

    which lead to the blank page.

    Thanks for this post !

  • http://www.freelanceunbound.com Freelance Unbound

    The plugin fix is spot-on. Thanks…

  • Oliver

    wordpress 3.0.1. – and the damn blank screen. Set in./wp-includes/default-constants.php WP_MEMORY_LIMIT to 64MB and everything works. You made my day!!

  • Gérald

    Thanks for your help
    a little french who lived during many hours with a white screen of Death. The solution was to the last part of one of the many wordpress files…

    thanks

  • Jenn Etebari

    Michael your help was AMAZING in getting my site back up and running from the WSOD – within 20 minutes. You are brilliant and I encourage everyone to contact Michael with questions. Truly awesome the way you figured it out. Thank you so much!

  • http://www.tracynboyer.com Tracy Boyer

    Thank goodness I came across this post early this morning when I was unpleasantly confronted with the dreaded white screen. In a panic, I filled out HighTechDad’s contact form (per his note, above) and within minutes he responded and offered to help. For a small fee he dropped everything and dealt with my issues (and I had many!). He was extremely knowledgeable and never gave up. Within several hours my site was back up and running strong, for which I am forever grateful!!! I would HIGHLY recommend HighTechDad to others who also have the unfortunate WSOD problem.

  • Pingback: allowed memory size exhausted

  • http://twitter.com/theUniverseandI The Universe and I

    Ive been struggling for days from this WSOD after updating my site from 2.7 to 3.01. Just renaming the plugins folder and reinstalling updated plugins and everything worked perfectly Thank you so much!

  • Pingback: Alex Barber | Digital Artist | WordPress blank screen troubleshooting

  • Creative Tv

    Merci pour cette précieuse aide !

  • BellRock2012

    Thank you, Thank you, Thank you! Saved me a lot of time and frustration. Just renamed the plugins folder _bad and then logged in, renamed plugins back to normal and tried 3x before it let me activate all. The only one that updated was… SecureWordPress. Thank you so much!

  • LeBaron Washington

    In the config.php file, I did notice there wasn’t a closing ?> . So I placed one there. In my wp-settings.php fill, I didn’t see any place to exchange 32M to 64M so I left that file alone. Even though I did make that small change in my config.php, I still get a blank home page. Thank anyway.

    Sincerely,
    Leapole7

  • http://www.hightechdad.com hightechdad

    If you are still having issues, please fill out my contact form and I can help you get it fixed.

  • Hassan Asif

    Thanks Oliver You saved my day. I was searching this problem for quite a long time. Tried all solutions but could not solve. Your solution worked for me . Thanks

  • rmfried

    This post helped me to find which plug in was causing problems and I was able to get pages and posts up and running again. Thanks!

  • http://www.hightechdad.com hightechdad

    Thanks for the comment and the donation. Glad that it worked for you!

    -Michael

  • Deborah

    Thanks so much for your help Michael. I really appreciate it. I would recommend anyone who can’t fix their site on their own, to contact Michael to fix it. He did a great job. Thanks again.

  • Photogirl79

    The blog name is http://www.facialandbotox.com. What happened was I changed the db password. After I did this the blog disconnected from the DB… somehow I fixed that, and now when you go to the site you will see it is up and running just fine. The problem is when I try to login to the wordpress site through the admin panel, as soon as I put in a username/password I get the “blank white screen of death”. I have no idea what’s going on but I did make sure to update the php.config file with the new db-pword. Any suggestions would be greatly appreciated.

  • http://www.hightechdad.com hightechdad

    I can definitely take a look at it to see what might be wrong. Please
    read the information on this page
    (http://www.hightechdad.com/contact-me/wordpress-issue-form/) and then
    fill out and submit the form. Once I receive the information, I can
    begin troubleshooting your WordPress issue.
    Thanks!

  • Photogirl79

    I have to tell you- you so rock! Super fast response and you don’t even know me! Why, you’re almost like an angel of sorts, aren’t you? I totally appreciate your assistance, nothing but good karma coming your way…

    As it happens, (and if you can believe this) I’ve actually got it figured out. I cheated though ha ha, I host w/ Godaddy.com and you can roll back the .config file, and this is how I fixed it.

    Just know now next time I have trouble- instead of surfing the internet for hours bound to figure it out myself, I’m coming here. All hail “High Tech Dad”…

    Thanks again!

  • peggy m

    I tried to open my blog last night and got the dreaded white screen of death. ACK! Normally I try to fix everything computer-related myself, but I was in over my head.

    I googled around & found HighTechDad’s website and thought he looks like a good, honest, technically proficient guy, and sure enough, my vibes were correct. He figured out and fixed the problem in about an hour, and he went above and beyond the call of duty by helping me with a few other blog things. WHAT A GUY!

  • Anup Narayanan

    Thanks. Off all the resources available on the web for this problem, yours was the most useful. Thanks a ton.

    Anup

  • http://www.miasgarnstudio.se Patrik

    Thanks Michael for helping me out!
    You saved me so muck time and agony, and now my site is up and running!
    I can recommend you that have trouble, to ask Michael for help!
    Thanks again / Patrik, Stockholm

  • Sunny

    Ty really nice post!
    It helped me a lot. Plugin was d culprit.
    My site again up and working http://www.TF2tech.com

  • Used excavator auction

    Advancing technologies and their swift adoption are upending traditional
    business models. Senior executives need to think strategically about
    how to prepare their organizations for the challenging new environment. 

  • Pingback: Problemas actualizando Wordpress - ¡Más productividad!

  • http://www.windowshostingplans.com/ Windows Hosting Guy

    Hi Mike:

    Thanks for this useful post. You pointed me in the right direction.

    In my case the cause was wp-super-cache. I had to delete the plugin to bring home page back. Deactivating the plugin did not work.

    Thanks again.

  • http://www.hightechdad.com hightechdad

    Thanks for pointing that out. That plug also writes to your .htaccess file so sometimes you can comment it out or remove it there.

  • kyle Hailey

    Thanks – you saved another site !
    - Kyle Hailey

  • Tony

    Excellent work. Disabling all the plugins and then bulk activating them worked like a charm to fix my WSOD.

    BUMP!

  • http://business-fundas.com Dr. Arpan Kar

    I am having a serious problem at my blog. Let me see if your suggestions work.

  • http://business-fundas.com Dr. Arpan Kar

    I tried all this, but the problem persists.
    My blog name is Business Fundas (http://business-fundas.com)
    Could you please suggest what has gone wrong?

  • http://www.hightechdad.com hightechdad

    It looks to me that you might have a virus or script infecting your site
    (just from looking at it quickly). I can definitely help you correct
    that. Please fill out this form and I will follow up with you:
    http://www.hightechdad.com/contact-me/wordpress-issue-form/

    I have fixed situations like this in the past. It’s a bit of a long
    manual process though.

  • http://windowssoftwaredownloads.com/ windows software downloads

    thanks man

  • http://www.indiainfobiz.com Faneendra

    WOW, It is very useful post. I was facing the blank page on wp-admin but I follow above instructions & placed ?> and removed extra spaces. I was shocked due to think of Hacking. But now my blog http://hindi.moviechaska.com is working perfect & wp-admin page coming. Your solution is still important from 2 years.

    Thanks a lot Michael

  • http://twitter.com/cyberganga Sreeraj

    For me too same wp super cache plugin caused that trouble.After renaming plugins folder, i could log into dashboard and then i deactivated the theme. Tried to activate all plugins at once , but it showed error again. Then deleted all plugins and after renaming plugins folder uploaded all plugins and was able to activate it in bulk.

    But i activated the same error-caused plugin now , but it now works well…  

  • Sarah Jean Hoggan

    Michael was phenomenal!  I had several nasty problems: a corrupted page
    causing the WSOD and Contact Forms that had NEVER worked correctly since the website
    was created by a professional organization. Michael took the time necessary
    to solve my problems. He was proactive, answered emails super quickly, charged
    an extremely fair rate, and satisfied every small request. He is TRUSTABLE,
    FAIR and will GET YOUR PROBLEMS SOLVED! Thanks Michael. :)

  • mat

    Thank you for your advice which avoided me a heart attack

    Matthieu

  • The Norwegian

     Thanks for straighten up my blog after White Screen of Death. Excellent job. Thanks.

  • http://pureinfotech.com Pureinoftech

    Hi there, thank you for this post. This didn’t fix my problem but it did help me to think outside of the box and to start troubleshooting in a different way. I turns out that — this is kind of obvious but backup is the most important piece of data you can posses –, I fixed all the empty lines in the wp_config but this was not the problem (my question here will also be why there is empty lines in a particular file when I never edited the file?). Then because my problem was with the wp super cache plugin I checked the wp_cache_config and I compared it to an earlier version from backup and it turns out that the newer file was off for 4 lines of code, weird! I never have edited this file before in my life, then I just replaced the wp_cache_config with the backup, refreshed the website and what do you know! It worked.
    I hope this helps some else in the same situation. Thanks! 
    http://pureinfotech.com

  • Yalalt_g

    Thank you very much. It is working when I tried to switch off the plugins and enabling one by one. Thank you so much

  • Anonymous

    awsome.. after reading a lot of topics about this, your solution of renaming the plugin folder is what it fix it.. i was getting really frustated… thank you again and thank you to explain it easily….

  • Rishi

    Awesome Michael, thanks for the help in getting my site up and making it quick and painless, highly recommended!

  • http://internettvdotcom.com/ Philip

    Hello Michael,

    Thanks for the tips. However, I’m a little stuck on the wp-config.php file.  I don’t have…

    ?>
    -END OF FILE-

    …that comes right below ‘wp-settings.php’);

    Perhaps that’s causing my WordPress Semiologic theme and W3 Total Cache plugin conflict. I have one post and one page that doesn’t allow me to edit them with W3TC activated. But I can edit my other 70 pages/posts.

    When activating the twelve eleven theme with the W3TC plugin activated I can edit the post and page in question.

    So I’m wondering would inserting the…
    ?>

    -END OF FILE-

    …fix the issue. I tried already but keep getting the following message…
    Could not open /home/xxxxxxxxx/public_html/InternetTvDotCom.com/wp-config.php-11-24-11 for writing: Permission denied.

    I’ve tried changing the permission from 755 to 777 for wp-config.php but that didn’t work either.Appreciate any help you can provide.Philip

  • http://www.hightechdad.com hightechdad

    First of all, you end the file with the “>” not with “- END OF FILE -” that was just a marker. If you need me to take a look, just fill out my WSOD form. Thx!

Previous post:

Next post: