I have had quite a few WordPress users having trouble with plugin upgrades or re-installing plugin that were not completely removed. The problem is that sometime WordPress will not remove the main folder for a plugin that is being upgraded or removed but it will remove all the contents of the folder. So then WordPress does not see that the plugin is installed but it cannot create the directory structure to reinstall it either.

The only thing you can do then is to login to your server via FTP (or a file manager in your hosting control panel) and delete the directory so that it can be re-installed. But for some people that just isn't so easy to get to. So I created this little helper plugin to force the deletion of any plugin's main directory and all of it's contents before upgrading or installing another version of that plugin. It's still under development and I would not recommend installing all your plugins with this one activated, but if you are have trouble upgrading a plugin because the destination directory already exists then this will probably help.

You can download the BETA vesion of this plugin here

Good Luck!

Eli Scheetz

Tags: , ,

2 Comments on "direct-install-method"

  • On December 7, 2018 at 7:13 pm, Gennadiy said:

    Hello. The plugin showed errors after scanning. How to determine the importance of errors. What can be done to eliminate?
    Screenshot of errors

    • On December 10, 2018 at 10:14 am, Anti-Malware Admin said:

      You can hover your mouse over those files listed there to see the last error and possibly the reason that those two files were not able to be scanned. You can also click on each of them to show the individual scan results, although it will likely not be able to load that screen either. Your server probably needs to allocate more memory to your PHP processes for you to be able to scan those files without errors. You can try asking your hosting provider to increase the memory_limit in the php.ini file on your server. If nothing else you can send me these two files and I will check them for you to make sure they are clean.


Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>