When reinstalling plugin, wordpress adds -1 to the name of the folder

0

Desistale a Wordpress plugin that I developed and gave me an error "could not uninstall completely" , I finished uninstalling it manually deleting the files that had remained in the folder. When reinstalling the plugin is now installed by adding "-1" to the name of my plugin in the wordpress plugins directory. Does anyone know how I can solve this ?. Thanks!

    
asked by Patricio 06.08.2018 в 00:30
source

1 answer

0

In PhpMyAdmin, or with the manager of the DB you prefer:

Try to find the table "wp_options" in it look for the column "option_name" and in that column look for the value "active_plugins".

Once located, it copies for security the string that appears in the "option_value" column.

Once done, replace the value of "option_value" with

a:0:{}

In this way you deactivate all the plugins, being able to re-activate the ones you need and being able to delete the plugin that got stuck.

Very important to keep the chain that you are going to replace first !!

Source of the info

    
answered by 07.08.2018 в 13:27