Sometimes in the process of PHP updation or plugin updation in wordpress,we may get into critical error in our site and our admin dashboard may not be accessed.
Sometimes it may be necessary to deactivate all plugins, but you can’t access the Administration Screens to do so.
In this case,we can deactivate plugins in two ways,
Use phpMyAdmin to deactivate all plugins.
- In the table wp_options, under the option_name column (field) find the active_plugins row
- Change the option_value field to: a:0:{}
Or reset your plugins folder via FTP(Filezila) or the file manager provided in host’s control panel. This method preserves plugin options but requires plugins be manually reactivated.
- Via FTP or host’s file manager, navigate to the wp-contents folder (directory)
- Via FTP or host’s file manager, rename the folder “plugins” to “plugins.hold”
- Login to WordPress administration plugins page (/wp-admin/plugins.php) – this will disable any plugin that is “missing”.
- Via FTP or your host’s file manager, rename “plugins.hold” back to “plugins”.Activate each plugins and refresh website so that we can understand which plugin caused the issue.