When developing or debugging a WordPress website it might be necessary to disable all your currently enabled WordPress plugins at once. Often if you need to do this, you might not be able to access the plugins section within Wp-Admin. One of most common reason I’ve seen for this needing to be done is the WordPress White screen of death. In this guide we are going to offer a few different ways to achieve this.
Disabling the plugins via FTP
Login via FTP and rename the plugins folder within /wp-content to plugins.disabled. Login to your WordPress admin and rename the folder back to plugins. All enabled plugins will now be disabled and you will be able to enable them one at a time to see which is causing your issue.
Disabling the plugins within PhpMyAdmin
Login to the relevant PhpMyAdmin, locate the wp_options table, find the active_plugins option and edit the value to be a:0:{}
Or you can run the following query within PhpMyAdmin or a similar MySQL manager
UPDATE wp_options SET option_value = '' WHERE option_name = 'active_plugins';
Classification: Public
Last saved: 2024/05/22 at 12:39 by Jamie