So there you are, happily updating your blog theme and BAM!
The Wordpress whitescreen of death!
The Wordpress white screen indicates that there is a problem with your current theme. Unfortunately at this point, you can’t go change the theme to unbreak it, since the theme selector is just going to spit out PHP errors. See the problem is, the database still has entries pointed to the “current” theme, which is either bugged, incomplete or gone.
Here are the symptoms:
What to look for:
Check to make sure your theme files are still in place. Deleting the current themes directory, renaming the theme directory or moving the current themes directory to a new location will all cause this error.
If files were moved or deleted, the best thing to do is to just put things back where they were, switch to another theme, then do your changes or removal of the old theme.
If that’s not possible, you can go manually change the current active theme in the database. The current template data is stored in the ‘options’ table, option_name “template”. Just change it to the folder name of another theme. It’s not pretty, but it works and will get you back up and running.