Sometimes sites get broken after an upgrade due to a bad theme or plugins. Renaming the plugins directory will usually fix the problem and renaming the theme will sometimes help, however, sometimes the theme is just too problematic and it needs to be switched back to the default theme.
- 1st:
Go into the cPanel, look for the Databases section and click the phpmyadmin link. (note you may need to setup a password using the “Reset MySQL Password” icon before you can log in.)

- 2nd:
Select your WordPress database. (If you aren’t sure which database to select, check your wp-config.php file in the root location of your WordPress installation)
- 3rd:
Select the ‘wp_options’ table (if you have another table prefix ‘tableprefix_options’)

- 4th:
From the header bar choose the “Browse” tab.

- 5th
Select page 2 from the tables footer:

- 6th
Now you’ll need to edit (
) the ‘template’ and ‘stylesheet’ rows and put in the word “twentyten”, or put in any other theme you want there. Press “Go” when you are done.





32 Comments until now
Looks like using wordpress is more easy to use after rading your post…
Keep posting
Thanks so much, you saved me from the dreaded blank WordPress screen of death!
I’m glad I was able to help you. Enjoy your functioning WordPress!
thanks alot friend. our post helped me alot. its really great thing otherwise i was goin to reinstall my wordpress blog and ready to lose all my old blog data
Brilliant post – took less time to fix the mistake I made than it did to commit it.
appreciate this post very much!
Jason
Hi, admin! – Many thank’s for this instruction…
I wanted migrate from wordpress.com to an own wordpress.org platform, so I setup a test server 1st with the same old theme (Andreas09 from 2006) – http://bit.ly/8XqcpG (Rec.: You see it now with the new theme.)
But I only got a white screen after installing a new theme, it was no more possible to go back (later I upgraded the WP 2.86 to WP 3.01 and then this new theme (Hybrid News) worked proper.)
I searched a lot on the web to find some help, even I posted at wordpress.org (where you now can find the link to your instructions here: http://wordpress.org/support/topic/hybrid-theme-fatal-error-1?replies=5#post-1668222 ). But there it seems – so my experience with this forum – mostly I never get answer.
It seems the only way to get back the dashboard onto the screen is your method… therefore many thank’s that I didn’t need to install the whole test environment new… WP meanwhile becaome so complexe that its really a time eating job.
The world needs such guys like you!
you r a life saver!
Thank you very much – I had tried renaming the plugins folder and then the theme to force the default to resent, which didn’t work, and sure enough the SQL was still showing the original theme in template and stylesheet. You’ve saved me loads of time and I really appreciate your step-by-step instructions. Thanks and keep blogging!
This was fantastic and helped me when I was in a bind. thanks!
Thanks a lot for these easy to follow instructions. I broke my site during an upgrade, but managed to fix it very quickly by following your post. Thanks again!
Thank you!!!! I never get that deep in the website stuff, and you walked me right through the stupid fatal error. You’re the berst!
Thanks man, really helped me out!!!
I don’t have a browse tab??
David,
The browse tab is only available there *after* you select your database. There is a list of databases on the left. Make sure you select your desired database first. You can then select your table and, after it loads, your browse tab will become available.
If your browse tab is grayed out and you cannot click it, then you have no content in your table… which is bad. And you will probably have to restore from a backup.
Thanks for the efforts, you saved me the hassle of having to start my blog afresh. And it would have been terrible as I had not backed up. GOD BLESS YOU!
Database will keep option my themes or not ? I’m using thesis theme and it has many option themes !
Rihanna: That really depends on how your theme works. If you have made custom edits to it, they should be maintained, but I cannot say for certain if all your custom settings will remain. I would think they would. Try it and, if it doesn’t, let us know.
Lifesaver! Accidently pressed ‘activate’ on a bad theme and took my website down – couldn’t even access wp-admin! This was so easy to follow and has got my website back online. Thank you!
Your a life save … I LOVE YA MAN!!!!!!
Thank you sir very much. It helped!
Wow, this actually worked I couldnt believe it. Superb instructions. Bravo. I was sweating so hard all night and then found this post and it was resolved inside a minute! Unbelievable. Thanks again
OMG!!!Thank you so much! I renamed my theme and could not access my site all I sa was errors, could not access admin area. I thought I was gonna have to start over. I was panicking until I saw your blog. It worked. Thank you. Thank you. Your a savior.
amazing, thank you thank you thank you
After change of theme I am facing problems with two plugins 1. wp_pagenavi which shows errors on upgrade. and 2. Max Banner Ads that is not getting activated. Any idea?
Some themes already use variations of the wp_pagenavi and thus, depending on what theme you switched to, it could be breaking it. Try the twentyten theme. If problems persist, you may need to re-upload/re-install the plugin.
Also try re-installing max banner ads while testing on a different theme such as twentyten or twentyeleven.
Your posting really starihgetend me out. Thanks!
This is exactly what I needed! Thanks so much!
Thank you very much for this post …!!!! I have spent 2 entire evenings to solve it without result….!!!
Thank you so much…!!!
Thx very much … i was sure to find it in php but u helped to find the path saved my time ..
Once again thanks
Arggh, I can’t believe people put out themes that will break your wordpress site. The audacity of these people! I greatly appreciate your very helpful and concise guide. Cheers!
Perfect!
A little clarification for us already confused WP admins:
“Now you’ll need to edit (Change WordPress Theme through PHPmyAdmin) the ‘template’ and ‘stylesheet’ tables”
- those template and stylesheet are rows, not tables.
Oops. Good catch. Thanks Veikko. That’s been fixed now!
Add your Comment!