How To Disable Plugins In Wordpress

Article By yang-li


WordPress VPS - BIP media If you are unable to login to WordPress and are seeing an error similar to

*Warning*: Cannot modify header information - headers already sent by (output started at /home/example/public_html/wp-content/plugins/zopim-live-chat/accountconfig.php:20) in */home/example/public_html/wp-includes/pluggable.php* online *1121*
You may have a plugin that is preventing WordPress from functioning correctly.

PHPMyAdmin Method

It possible to disable a WordPress plugin by logging into phpmyadmin, selecting your WordPress table, which is usually your username followed by _wp1.

For example, if your username was bob, your WordPress name might be bob_wp1

Please Note: Before going any further you should back up your database before you try to edit it.
Once you've found your table, run the following query against your table.

UPDATE wp_options SET option_value = 'a:0:{}' WHERE option_name = 'active_plugins';
This will disable all active plugins, but will not delete or modify them.

Command Line Method

You can also run a query through the command line.

Log in through SSH and execute the following commands.

root@example# mysql 
Mysql> UPDATE wp_options SET option_value = 'a:0:{}' WHERE option_name = 'active_plugins';

Tags: , ,

Spin up a VPS server in no time flat

Simple setup. Full root access. Straightforward pricing.


Leave a Reply