Installing a plugin reccomended by a fellow blogger sounded like a great idea until you relaized that you didn’t need or want it on your WordPress site. So, you deactivated the plugin via the Plugin panel, but now your blog is broken!
You are getting an error “Fatal error: Call to undefined function.” and part of your blog’s content is missing!
Fortunately, there’s a fix for the plugin deactivation error issue – it just takes a little detective work and some patience.
- First, make a note of where the error occurred on your blog – was it the sidebar? The footer? This is important, because when you go to edit the blog template, you want to make sure you are looking in the right place!
- Now go to your WordPress Administration screen and select Design, then Theme Editor.
- Select the file for the section of your blog template that is broken because of the plugin deactivation.
- Look for any code related to the plugin, and delete.
- Save your template.
- Refresh your blog’s page (press F5) to see if the error is now gone. If it is still showing an error because of the plugin deactivation, go through your blog theme files one-by-one, to make sure you removed all instances of the plugin’s code.
WordPress Wednesdays features posts about plugins, themes and general usage of WordPress, the world’s most popular content management system!