sarah.kho
Member
Posted 1 year ago #
Hi,
I am not sure whether this is what I need to do or not.
I have deleted many of the plugins I installed into my wordpress site from the file system. Now I cannot install them again, it always says the file or the directory already exists after taking a long time.
Is there anything like removing the plugins from the database registry?
Thanks.
sarah.kho
Member
Posted 1 year ago #
You can delete the plugin folder by using FTP (or whatever file management application your host provides) and deleting the wp-content/plugins/plugin_name folder for each plugin that you no longer want.
pwright2
Member
Posted 1 year ago #
I'm a newbie at this but there is an entry in the wp_options table for active_plugins. It is a long string listing all the active plugins and a bunch of parameters for each one. Also, the string begins with something like A;12(... where the 12 is the number if active plugins. You can use phpMyadmin to edit that field. Delete the reference to your plugin and all its parameters (the pattern is fairly easy to recognize) and reduce the number at the front (12 in this case) by one.
Probably hss its risks but has worked for me.
If you delete the whole field it deactivates all your plugins without deleting them. Useful when you think a plugin is causing a problem.
sarah.kho
Member
Posted 1 year ago #
Thank you.
I just found the table and replaced its content with the older content that I knew is correct.