I have a wordpress script, wp-supercache, that I need to disable (as its cached on a nasty error), however, the error is causing the wp-admin redirect to fail, which means I can't get into the site to disable the plugin.
Any advice? I can access the database via cpanel.
Another way to do this is you can backup the site and then just rename the folder of the plugin under /wp-content/plugins/ to some other name . So the plugin will be disabled. I wont prefer deleting the plugin folder as it may cause errors. After the step is done log in to your wordpress site and delete the plugin from there
Copy the serialized result string from the right side and update active_plugins value with it.
I wrote a little exe in .dot to repair/remove options string from database.
To disable all Wordpress plugins on your site:
UPDATE wp_options SET option_value = '' WHERE option_name = 'active_plugins';
You just need to change the values in the record "active_plugins" in the database. You can find the process Here
Try re-naming the folder of the plugin and then see if error is gone (make backup first of course.). If that does not help, here is the solution then.