Why should all plugins be disabled? When something goes wrong on the website, and it is needed to debug. Even worse when website admin is unable to log in, which may be caused by the plug-in, thus, locking the WordPress management panel. In this case, all plug-ins need to be disabled without login.
Two Methods to disable plugins are provided below:
Disable all plugins using FTP
This method also requires the use of FTP to log into space (host file management tool). Browse to the / wp-content / folder. Locate the “plugins” folder. Rename this folder as “plugins.bak”. After that, all plug-ins will be disabled.
In most cases, the admin panel will be unlocked if the problem is due to the plugin. Then when allowing log in, return to the folder, rename “plugins.bak” to plugins, and then activate each one for testing.
Use phpMyAdmin to disable all plug-ins
This FTP method is relatively simple and can be considered a violent method. Then we can also use phpMyAdmin to disable the plugin gradually.
In the WordPress database, find the wp_options table or wpqq_options table to find the option name “active_plugins”. Edit its value, the deactivated value is: a: 0: {}
If not all plugins are intended to be disabled, choose the ones to be disable.