How to deactivate all plugins in WordPress when you can’t access admin panel

Unable to access wordpress admin panel

How to deactivate all plugins in WordPress when you can’t access admin panel

 

Unable to access wordpress admin panel
Unable to access wordpress admin panel

Many of us might experience the problem where they can’t access admin panel due to some random plugin issue. And you may want to disable all your plugins in order to find out what problem is causing this and then you can access your WordPress admin panel again. When you can’t access your wordpress admin panel, you can’t disable your plugins in an easy way. In order to help people who are facing this problem, you can use two methods to disable all your plugins when you can’t access wordpress admin panel.

1) Disable plugins using FTP/Cpanel

2) Disable plugins using PhpMyAdmin

Disable plugins using FTP/Cpanel – 

Step 1 : Go to your wordpress installation directory and locate /wp-content/plugins folder.

step2

 

Step 2 : Now just rename the plugins folder to some other random name, here i am renaming it as plugins_deactivate

step4

Step 3 : After renaming your plugins folder, you can able to access your wordpress admin panel easily and do whatever you want.

Disable Plugins using PhpMyAdmin – 

Step 1 : Go to PhpMyAdmin and locate your wordpress database, when you explore your database, go to the table wp_options

step6

 

Step 2 : Now, browse the table wp_options , you should see the column active_plugins , under the option_value , remove the existing values and use a:0:{}  and save it in order disable your plugins.

step7

 

It should be like this

step9

The above two methods will work for you when you can’t access your wordpress admin panel and wanted to disable all your plugins. You can use the above methods for disabling plugins and log into your wordpress admin panel and do whatever changes you want to do .