• Resolved StevenW123

    (@stevenw123)


    Hi,
    I updated the plugin yesterday on two sites. On one, it worked fine, but on the other, it crashed and took the site down.
    I restored the database from backup, assuming that would solve the problem. The site was back up, but when I logged in to update the plugin, it had literally vanished. I didn’t know WP could delete problem plugins.

    Error: The plugin https://www.ads-software.com/plugins/wp-simple-firewall/ has been deactivated due to an error. Plugin file does not exist.

    Do you know why this happened and how to prevent it happening again, please?

    I update regularly, so I’m guessing this was only the last update that caused the incident (I believe I updated it last week too – I try to keep on top of these things.)
    Thanks,
    Steve

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Paul

    (@paultgoodchild)

    Hi Steve,

    Sorry to hear about the trouble. Unfortunately this can happen with WordPress with any plugin/theme upgrade.

    There’s a lot that needs to get done during an upgrade:

    1. WordPress needs to download a zip of the update
    2. unpack all the files
    3. delete the old plugin files
    4. move the new files into the original location

    That’s a fair bit, and it’s reliant 100% on WordPress and host to get the job done in 1 take. Sometimes, though, it can trip up and not all files are copied, for example, and the site is left in an inconsistent state.

    It’s hard to know what’s happened on yours, but I would suggest you:

    1. open up a file manager such as FTP or cPanel File Manager
    2. browser to /wp-content/plugins/
    3. delete the folder /wp-simple-firewall/
    4. Use WP admin’s plugin > Add New and search for “shield security” and reintall the plugin from scratch.

    If you get an error, please post it in full here and we can go from there.

    Thanks

    Thread Starter StevenW123

    (@stevenw123)

    Thanks, Paul.
    If It happens again and I have to reinstall, how can I retain all the settings (especially the IP white list and hidden login URL details, etc.), please, so I don’t have to go through and manually add everything.
    This time, I managed to restore a backup of the full site, but I can’t do that often or I’ll lose data.
    Thanks,
    Steve

    Plugin Author Paul

    (@paultgoodchild)

    Shield’s settings are retained in the database – so you can reinstall and all your configuration etc. will be retained

    Thread Starter StevenW123

    (@stevenw123)

    Thanks. That’s what I figured, but wanted confirmation.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘update crashed site’ is closed to new replies.