It is very easy to disable plugins from WordPress dashboard but sometimes the situation will arise that you will not be able to access your WordPress admin panel. This usually happens when a plugin on your website is creating problems for you to logging into your admin area or When you see the blank white screen on WordPress website which is also called white screen of death. So under these situations, you will not be able to access your website admin panel.

In order to get rid of this problem, it is recommended that you should deactivate all plugins and then activate them one by one to check that which plugin is creating the problem on your website.

There are two ways to deactivate WordPress plugins without accessing admin panel:

1. Deactivate plugins via FTP
2. Deactivate plugins via Phpmyadmin

1. Deactivate plugins via FTP

In this method, you can deactivate all plugins via FTP client like (FileZilla or Cute FTP) or you can deactivate all plugins from your hosting File Manager but Some hosts will not provide you the option to access file manager (WordPress hosting) so you need to deactivate it with help of FTP client.

Firstly you need to connect to your website host via FTP. Once you will be connected to your host then you will see WordPress folders like wp-admin, wp-content, wp-admin. You need to click on the wp-content folder because all plugins are stored in the wp-content folder. Then you will see plugins folder. Now you need to rename this plugins folder and you can give it any name you want. You can see this below image:

deactivate all wordpress plugins ftp

Once you will change plugins folder name then you will see that your all plugins will be deactivated. You can see this below image:

plugins deactivated wordpress

In this image, you can see that all plugins have been deactivated. You will an error message as well “Plugin has been deactivated due to an error: Plugin file does not exist.“. This is showing this error message because we have changed plugins directory name.

Now all plugins have been deactivated. it’s time to change plugins folder name again from plugins_dectivated or Whatever name you have given to your plugins folder to plugins folder actual name.

rename wordpress directory name

We have renamed our plugins folder name again to actual name. Now refresh your screen 4-5 times and then you will see that error message Plugin has been deactivated due to an error: Plugin file does not exist. has been removed and now you can start activating your plugins one by one and check that which plugin is creating the problem. Then you can remove that plugin which was creating problem on your website.

  • godaddy

  • 2. Deactivate plugins via Phpmyadmin

    In this method, you need to deactivate all plugins via phpmyadmin. So firstly you need to access phpmyadmin and then you need to select wp_options table. On my side, I have different table prefix. Because of security reasons I have changed my table prefix from wp_ to wp_zdbfy4rzp3. So my table name is wp_zdbfy4rzp3_options. So I will select wp_zdbfy4rzp3_options tables so this means if you have a different table prefix then you need to look for a table that ends with _options.

    deactivate all plugins from phpmyadmin

    After selecting _options table then you need to click on Browse link. Then after this, I have changed the number of rows to display to 300 so that we will be able to see all rows at once. Please see this below image:

    change number of rows to display in phpmyadmin

    I have entered 300 and then click on Show button so that it will show maximum 300 rows.

    Now we need to look for active_plugins row and the best way to find it by using Ctrl + F and then enter active_plugins in popup box. please check this image:

    find row in phpmyadmin

    Now you can see that we have entered active_plugins to popup box and then it will find active_plugins automatically. Now we need to click on pencil icon which is highlighted in above image. Click on this pencil icons and then you will see this screen.

    edit row in phpmyadmin

    Now you need to remove option_value and change it to a:0:{} and then click on Go button. Please check this image:

    change option_value in phpmyadmin

    Now if there was some plugin which was creating the problem for your website then you will be able to login to your WordPress dashboard and then you can check that which plugin was creating the problem by activating it one by one.

    If you liked this article, then please subscribe to my youtube channel for more programming related tutorials.

    If you have still any question then please comment below.

    Share this post on: