• This plugin, PlugVersions, cannot be deactivated without breaking my web site. When I deactivate the plugin, it deactivates all plugins that have been updated during the time while using PlugVersions. When trying to reactivate the deactivated plugins, a lot of fatal errors occour. It also leaves old versions in my server update notifications list.

    Both of these problems supposedly were fixed in the versions noted below.

    0.0.3

    *Fixed: not possible to delete the plugin from the page of plugins

    0.0.2

    *Fixed: plugin old versions were considered in the update notifications

    How do you SAFELY delete your plugin without destrying my website? All of my plugins and WordPress are current, using the most current versions to this date.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jose Mortellaro

    (@giuse)

    Hi @richwpaccount

    When I deactivate the plugin, it deactivates all plugins that have been updated during the time while using PlugVersions

    Do you mean it deactivates also the last version of the plugins that were updated? This is theoretically not possible.
    While PlugVersions is active it filters the names of the updated plugins. Only one version of the updated plugins is active, and all the other names are filtered by PlugVersions, but they are not active in any case. When you deactivate PlugVersions, it does exactly nothing. No line of code runs during the deactivation. On the contrary, when you delete it, then it removes all the additional versions.

    When trying to reactivate the deactivated plugins, a lot of fatal errors occour.

    Of course, you have fatal errors because you try to activate versions of a plugin that is already active and you have a lot of functions that are defined two times. This is what generates fatal errors.

    It also leaves old versions in my server update notifications list.

    Those versions are on the server until you delete PlugVersions. It’s not enough to deactivate it. You need to delete it.

    How do you SAFELY delete your plugin without destrying my website?

    As I understand, you didn’t try to delete the plugin, but only to deactivate it. To safely delete PlugVersions I suggest you:

    • Make a full backup, especially of your plugins
    • Deactivate PlugVersions from the page of plugins
    • Delete PlugVersions from the page of plugins

    PlugVersions doesn’t touch your database. It only saves the versions of the updated plugins and changes the names. Nothing else. While it is active it filters those names. When you deactivate it, it does nothing. When you delete it, it deletes all the versions and keeps only the active versions.

    Let me know if something is not clear or if I didn’t understand your thread.

    Best regards

    Jose

    Thread Starter richwpaccount

    (@richwpaccount)

    Jose,

    I apologize for the false alarm. It appears when I deactivate the plugin, the plugins that have versions to roll back under your plugin APPEAR to deactivate. In reality, when I tested further, the plugins were activated and shows as such when I did a page refresh.

    The only problem that is still there is Sucuri, WooCommerce status, and my web host still see previous versions and notify me that I need to update my plugins. The list is getting long. Any thoughts? If I can resolve this, I can keep your plugin as it is a great concept.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Cannot delete or deactivate PlugVersions without breaking site.’ is closed to new replies.