
Normally disabling a WordPress plugin is very simple and straightforward. How easy? You can login to admin area, click the Plugins tab and click Deactivate next to the plugin. You can see an example below with Akismet: ![]() However, sometimes a plugin can make things more complicated. Some plugins can cause problems with logging into your admin area. That's exactly what happened to one of our members. They changed a setting inside a plugin and suddenly started getting these errors when trying to login: So, what do you do if you can't login to your WordPress admin and disable a a plugin? You have two choices: Choice 1: Disable the Files![]() One choice is to disable the plugin's files.
![]() Now you can try to login to your WordPress site. You should get a message telling you that the plugin has been disabled. ![]() Now you can set up about solving the initial problem with the plugin, either by deleting the plugin entirely or by researching and fixing the initial error. Choice 2: Disable via the DatabaseThe second option is more complicated and that is to disable the plugin via the database. First, you'll need to access the database for your WordPress site. phpMyAdmin is a popular tool for this that's provided by many hosts and it's the one we'll use in this tutorial. Once you've logged into the database, look for the wp_options table: ![]() You're looking for a row with the option called active_plugins as below: ![]() If you want to turn off all the plugins on your site, you can simply delete this entire row by clicking on the red X button beside it. That won't cause any lasting harm except for turning off the plugins. If you want to disable just one plugin, click on the pencil icon instead: You'll now see a screen like the one below: ![]() All you need to do here is change one thing. Change the a:1 before your plugin name to a:0. So in this case, the original line is: and you will change that to: To save your changes and finish disabling the plugin, click Go in the bottom-right corner. ![]() Now you can set up about solving the initial problem with the plugin, either by deleting the plugin entirely or by researching and fixing the initial error. |

With Admincredible you can update and manage all your Joomla sites. If you have 5 or 500 sites, Admincredible will make your life easier! Visit Admincredible.com.
All of our tutorials are published under the Creative Commons Attribution-NonCommercial license. This means:
Open Source Training is not affiliated with or endorsed by the Joomla, WordPress or Drupal projects.
All product names and trademarks are the property of their respective owners.
Copyright 2013 Open Source Training, LLC. All rights reserved.
Comments
You should check out our Wordpress Beginner and Intermediate classes at www.ostraining.com/online
Kind regards,
Nick
because there no active_plugins in wp_options table: please reply me...
i want to disable single wp plung-ins...