You’ve installed a pluginSoftware that adds specific features or functionality to a W... More. Your site crashes. White screen. Error message. You can’t access the WordPress adminThe admin (administrator) is the highest user role with full... More to deactivate it.
This is a nightmare scenario, but it has a simple solution.
By accessing your databaseWhere all WordPress content, settings, and user data are sto... More through phpMyAdmin, you can disable all plugins at once without logging into WordPress. This guide walks you through the process step by step.
This technique is useful when:
/wp-adminIf you can still access the adminThe admin (administrator) is the highest user role with full... More area, just deactivate the pluginSoftware that adds specific features or functionality to a W... More normally. This method is only for when you cannot.
Always back up your databaseWhere all WordPress content, settings, and user data are sto... More before making any changes.
Most hosting providers offer one-click backups (cPanel, hPanel, etc.). Alternatively, use phpMyAdmin’s export feature:
This ensures you can restore if something goes wrong.
Log into your hosting control panel (cPanel, Plesk, or your host’s custom dashboardThe dashboard, or admin panel, is the backend interface wher... More). Look for phpMyAdmin under “Databases” or similar.
Click on your WordPress databaseWhere all WordPress content, settings, and user data are sto... More name. If you have multiple databases, look for the one containing your WordPress tables (usually named wp_ or something similar).
wp_options TableLook for the wp_options table. The prefix might be different (e.g., wp2_options, myprefix_options), but it always ends with _options.
Click on it to open.
active_plugins RowClick the Browse tab at the top. Look for a row with option_name equal to active_plugins.
You may need to click through multiple pages. Use the search bar: search for active_plugins in the option_name column.
option_value FieldClick the Edit button (pencil icon) next to the active_plugins row.
In the option_value field, you’ll see a long string of text like:
text
a:15:{i:0;s:19:"akismet/akismet.php";i:1;s:41:"elementor/elementor.php";...}
This is serialized data, it stores the list of active plugins.
To disable all plugins, replace the entire option_value content with:
text
a:0:{}
This tells WordPress: “I have zero active plugins.”
Then click Go at the bottom to save.
Visit your WordPress site. It should load normally again (though some features that depended on plugins will be missing).
If phpMyAdmin feels intimidating, you can also disable plugins via FTP or your hosting file manager.
Steps:
/wp-content//plugins folder to /plugins_disabled/pluginsThis method is simpler for many users, but it doesn’t work if file permissions are restricted.
After regaining access to your WordPress adminThe admin (administrator) is the highest user role with full... More:
Pro tip: If the same pluginSoftware that adds specific features or functionality to a W... More caused the crash, consider replacing it or checking for updates/conflicts.
A crashed site due to a bad pluginSoftware that adds specific features or functionality to a W... More is stressful. But the fix is simple: disable all plugins via phpMyAdmin or FTP, then reactivate carefully.
Remember these rules:
a:0:{} to disable all pluginsNow you can recover from any plugin-related white screen, no panic required.