How to deactivate all plugins when wordpress crashes site due to plugins and cannot access admin menu?

How to deactivate all plugins when WordPress crashes due to plugins and you cannot access the admin menu? Sometimes you may need to deactivate all plugins but you cannot access the admin screens to do this. You can deactivate all plugins using one of two methods.

Sometimes it may be necessary, but you cannot access the admin screens to do this. You can deactivate all plugins using one of two methods.

Deactivate all plugins using phpMyAdmin.

In the wp_options table, find the active_plugins row under the option_name column (field)
Change the option_value field to: a:0:{}

Alternatively, reset your plugin folder via FTP or the file manager available in your hosting control panel. This method preserves plugin options but requires manual reactivation of plugins.

Via FTP or your host's file manager, navigate to the wp-contents folder (directory)
Via FTP or your host's file manager, rename the folder "plugins" to "plugins.hold"
Log in to your Manage Plugins page (/wp-admin/plugins.php) – This will disable any “missing” plugins.
Via FTP or your host's file manager, rename "plugins.hold" to "plugins"

score

Leave a Reply

Your email address will not be published. Required fields are marked *