Business Websites, Ecommerce solution, Process Automation!

How to fix error: Call to undefined function wp_get_theme() on Wordpress

  Posted in Blog Webssite issues | 10th August, 2017

Tags.

It can be a nightmare when you are in the middle of a theme upload or after a theme activation, something happens and you end up with the following error:

1
Call to undefined function wp_get_theme()

The most frustrating thing is that any link that you click on in your blog will give you same error. If this error is not addressed, you might have to re-install your website and run the risk of losing all your content.

If you are a little bit technical, the easiest way to fix this issue is at the database level.If you need help with this, contact us to assist you.

If your web host has a control panel, you can Login to the database access tool : PHPmyadmin to connect to your database; Otherwise, use any other database tool to connect to your database.
Open the query box and run the following script:

Select Code
1
2
3
UPDATE wp_options SET option_value = ‘default’ WHERE option_name = 'template';
 UPDATE wp_options SET option_value = ‘default’ WHERE option_name = 'stylesheet';
 UPDATE wp_options SET option_value = ‘twentyeleven’ WHERE option_name = 'current_theme';

Post a comment


You can use the following HTML tags: <a><br><strong><b><em><i><blockquote><code><ul><ol><li><del>


CAPTCHA Image
Reload Image

01

Build YourWebsites

>>
Showcase your business online! Whether you need a website for your associations,business, ecommerce or affiliate marketing Call us Now
02

MaintainWeb Assets

Maintain Your Web Assets To ensure optimal performance and 99.9% uptime.We help you fix issues,on-page SEO optimization
03

Build NewAdd-ons

>>
We help our Clients to add new features: Additional pages, add payment gateway, load products to your store or build a new e-commerce store.