WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [closed] White Screen of death (38 posts)

  1. mrsrjp
    Member
    Posted 4 years ago #

    Here lately about 5-7 wp websites I'm supporting have gotten this odd white screen. It happens at all different times, sometimes when you update a page, sometimes when you edit a page, sometimes after you've just been logged in for a long period of time and you're updating. There's no solid connection between all of these sites. They all use different plugins. This is really killing us at our company trying to support this- any information we can get would be super, really great!!

  2. Micah Cooksey

    Posted 4 years ago #

    A blank screen usually implies a Database issue, whether it's in your theme, your plugins, or a corrupted install of WP. Try disabling your plugins by renaming that folder under /wp-content and see if that solves it. That could narrow it down to a plugin issue. Try switching to the default theme by deleting or moving all the other themes from /wp-content/themes. That could single out a theme issue. Try re-installing WordPress to see if you just happened to have a corrupted installation. What host are you with?

  3. mrsrjp
    Member
    Posted 4 years ago #

    Well that's just it, there's about 4 or 5 of my client's doing it- all different hosts, plugins, etc. It just started happening within the last 2 months. I'm not sure if it's someone on my team doing something or if it's a certain combination of plugins or what exactly. We just did a fresh install on one and so far it appears it's fixed the issue. I just hate to do that every time it shows up- that's a major deal.

  4. Samuel B
    moderator
    Posted 4 years ago #

    also could be running out of php memory
    try adding this line to wp-config.php

    define('WP_MEMORY_LIMIT', '64M');

  5. nicolaaas
    Member
    Posted 4 years ago #

    I get the same problem, I was working with some plugins activating and deactivating and than there was only a white screen.
    I can get to the wp-login.php in firefox or chrome, but when I enter user and password it's just white.
    I'm running wordpress on MAMP.
    I'm still able to check the site itself. I removed all the plugins from the plugins folder. Tried the define('WP_MEMORY_LIMIT', '64M');
    but doesn't work. Any help would be great!

  6. s_ha_dum
    Member
    Posted 4 years ago #

    I've seen this both with database timeout and with PHP memory issues, so whoever is seeing this problem look into both possibilities. @nicolaaas, just last week I had to kick PHP memory all the way up to 96M to resolve a memory issue. 64M might not be enough.

  7. mrsrjp
    Member
    Posted 4 years ago #

    For me the memory fix seems to be working- we've tried it on two sites so far and no more white screen of death!!! Thank you so much samboll kisses and hugs to you!!! What a nightmare it is when you have that happening on multiple sites you support at once. However we use a lot of big plugins and eventually it always happens- now we know why!!! Thanks for taking time out of you day to answer - you rock!

  8. nicolaaas
    Member
    Posted 4 years ago #

    For me it's not working I even tried '160M' it's stays white.

  9. Micah Cooksey

    Posted 4 years ago #

    @nicolaaas - Have you tried switching to the default theme by temporarily moving all the other themes from /wp-content/themes? I've had that issue with syntax errors in my functions.php.

  10. Samuel B
    moderator
    Posted 4 years ago #

    For me it's not working I even tried '160M' it's stays white.

    mu post was not a fix-all
    just one possibility

  11. nicolaaas
    Member
    Posted 4 years ago #

    when I'm moving all themes I cannot load my blog anymore.
    I can load my blog when i have my own theme.
    Are there more possibilities i can try?

  12. Samuel B
    moderator
    Posted 4 years ago #

    nicolaaas
    have you tried renaming the plugins folder which will deactivate all plugins?

  13. nicolaaas
    Member
    Posted 4 years ago #

    now I got it to work, without any plugins, but when I'm putting the plugins back, one by one the problems are comming back.
    It happens when I'm clicking on activate or deactivate. And it doesn't matter what plugin i'm activating or deactivating. When I click it goes white.

    http://localhost:8888/wordpress291/wp-admin/plugins.php?action=activate&plugin=directory%2Fphpexec.php&plugin_status=all&paged=1&_wpnonce=cf00e9463a

    When I remove what's comming after /wp-admin/ I'm back on my dashboard. And when I'm back at my plugins it is actually deactivated. I can click to activate again, and than it happens again.

    the plugins I tried are shadowbox-js, php exec, Netlife's tag cloud (fat cloud)

  14. nicolaaas
    Member
    Posted 4 years ago #

    I just found out it happens every time I try to safe a setting. Anywhere in the admistration panel. I can remove everything after wp-admin/ and the setting is saved and I can continue till I save something again.

  15. Samuel B
    moderator
    Posted 4 years ago #

    let me try to reproduce it on one of my local installs

  16. nicolaaas
    Member
    Posted 4 years ago #

    I foundthis/ post.
    It had something to do with the functions.php. I removed the blanks between two functions and now it's working again. So you have to have all your functions after each other?

    <?php
     'fuction 1'
    ?><?php
    'function 2'
    ?>

    no spaces in between?

    Thanks for all the help!

  17. s_ha_dum
    Member
    Posted 4 years ago #

    I always space my functions. I've never had a problem. I'd guess that there was something beside a newline that slipped in there-- a control character or maybe the wrong kind of line ending (old school Mac line ending used to break things).

  18. Samuel B
    moderator
    Posted 4 years ago #

    agree with apljdi - can't reproduce it but glad you got it working

  19. exit44
    Member
    Posted 4 years ago #

    It had something to do with the functions.php. I removed the blanks between two functions and now it's working again. So you have to have all your functions after each other?

    Bingo! I was getting the same white screen of death and tried everything in this thread. Removing the white space between the functions worked for me, too. Thank you!

  20. b00giehead
    Member
    Posted 4 years ago #

    My apologies for not having a clear grasp of languages, but I just cured mine this way.

    I opened up the wp-config.php file, and then compared it to my original 'sample' version. There was a load of spare text at the top, thousands of letters/numbers. I deleted it all and returned it to how it should look as per 'sample' and re uploaded it.

    Problem solved for me.

  21. krwaters
    Member
    Posted 4 years ago #

    I came across the white screen of death right after modifying my theme's functions.php. I realized that I made a silly coding error -- two functions of same name. Fixed it and no more white screen of death.

  22. Jsage
    Member
    Posted 4 years ago #

    After noodling around with all the advice here: disabled plugins and themes... Then looking at the wp-config.php file I added the bit of code defining memory usage. Still no luck. Just a white page when trying to access the site. I renamed the wp-config.php to something else and then removed the "example" on the wp-config-example.php and then suddenly I got the error message saying there was no database file (no surprise). Glimmer of hope here because then I was able to login to the admin panel... I then reset everything back to how it was when I started... (re-named all the folders back to there default names)
    AND.... Now its fine. I host with GO Daddy and their is definately something fishy going on over there. Am I right? I dont fully grasp the problem with the SQL database errors... I am creating a new sql data base through the management tools at GoDaddy... Should I be doing this?

  23. inksaint
    Member
    Posted 4 years ago #

    I've had that issue with syntax errors in my functions.php.

    I am building a theme and I am sure it is a syntax issue with my functions.php where i wrote in a custom options panel.
    I get the white page when i save anything: options, posts, pages, etc. Strangely enough, all changes do save, but I have to hit "back" on my browser to get back to the admin panel, and that obviously isn't acceptable. I can't find the problem, I've checked every bracket, comma, colon, and semi-colon. Nothing seems to be missing or unnecessary (though something must be). Any thoughts? I'd be happy to send someone my code if they are willing to glance over it.

  24. NonfictionCopy
    Member
    Posted 4 years ago #

    Hi,

    I'm getting the white screen whenever i hit 'Edit' on a post. The 'quick edit' option is fine, and editing pages is fine, but not posts. Tried disabling the plugins and renaming the theme to make sure that it went to the default theme, but that just made my whole site blank - not sure how to edit site after switching to default theme?

    Any suggestions? I'm not overly knowledgable of how everything works, but managed up until now. Hosted through GoDaddy and working in Firefox.

    Cheers, Michael

  25. Steve
    Member
    Posted 4 years ago #

    @nicolaaas, I was getting this white screen of death everyone is talking about, it was while I was on the options-discussions.php screen where you can set options for comments. After hitting save it was just white screening out...

    After I had a look at my function.php file and removed the spaces between functions like nicolaaas said it somehow fixed it!?!?

    I am running MAMP and testing on Chrome just to let you guys know..

    Thanks nicolaaas

    Steve

  26. roowilliams
    Member
    Posted 4 years ago #

    I was having the same problem after I'd edited functions.php, and like others here, removing spaces between functions worked for me.

  27. Jparra
    Member
    Posted 4 years ago #

    I tried EVERYTHING in this post and of course it was the functions.php file. I just redownloaded the theme and uploaded the original functions.php file.
    Thanks!

  28. sonofbruce
    Member
    Posted 3 years ago #

    So like the others here, I get the white screen whenever I try to edit functions.php. I figured it had something to do with the spacing, but I'm encouraged to hear I'm not the only one this happens to. It really makes me think that all the emphasis on child themes these days is misplaced: it's fine for developers, but for us ordinary mortals, give me a simple, old-school theme that I know how to hack without having to touch the g-d functions file!

  29. Rich-r
    Member
    Posted 3 years ago #

    I get a white screen when when I check my functions php, When I try to edit my posts I also get a white screen, everything else works fine. If I download my theme again will I loose all my posts?

  30. Rich-r, your posts are safe in your database. Changing your theme will not affect them.

    Please start your own topic if need any more help.

Topic Closed

This topic has been closed to new replies.

About this Topic