How to deactivate all plugins when not able to access the administrative menus?

Sometimes it may be necessary to deactivate all plugins, but you can't access the administrative menus to do so. One of two methods are available to deactivate all plugins.

Use phpMyAdminto deactivate all plugins.

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

Or reset your plugins folder via FTPor the file manager provided in your host's control panel. This method preserves plugin options but requires plugins be manually reactivated.

  1. Via FTP or your host's file manager, navigate to the wp-contents folder (directory)
  2. Via FTP or your host's file manager, rename the folder "plugins" to "plugins.hold"
  3. Login to your WordPress administration plugins page (/wp-admin/plugins.php) - this will disable any plugin that is "missing".
  4. Via FTP or your host's file manager, rename "plugins.hold" back to "plugins"
  • 1 Користувачі, які знайшли це корисним
Ця відповідь Вам допомогла?

Схожі статті

Categories and tags have vanished

The problem ended up being that system alerts had caused certain functions to shut down. One of...

Leverage Browser Caching

<IfModule mod_expires.c> ExpiresActive On ExpiresDefault "access plus 1 month"...

How to Move a WordPress Website from HTTP to HTTPS/SSL

Configuring WordPress for SSL/HTTPS Links in WordPress (such as image attachments, themes CSS...

WordPress Security - Base64 and eval

WordFence has a scanner that can find base64 and eval code. You can use CPANEL file manager to...

How to disable WordPress maintenance mode after a failed update

You start an update and the update process fails at some point, leaving your WordPress website...