Support » Plugin: In Stock Mailer for WooCommerce » Plugin bug after backup – Save data when plugin is desactived

  • Resolved kenteush29

    (@kenteush29)


    Hello, the plugins makes my website crash when trying to visit product pages.
    It started after a backup restauration of it.
    Do you have a solution ?

    Also, I lost absolutely every in stock inquiries after the desactivation of the plugin. Could you make a little change of the plugin to save the data ?

    Thanks for your work.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Frank

    (@frankspress)

    Hi,
    I’m not sure what your setup is, but I’m assuming your WordPress database table prefix has changed therefore making the plugin crash when restoring the old tables.

    Have you tried deactivating then reactivating the plugin, still crashing?

    Yes of course I desactivated it then activate again. Nothing changed.
    Do you have a solution ?

    Plugin Author Frank

    (@frankspress)

    It started after a backup restauration of it.

    I need more details of what you actually did here. Did you backup WordPress? Restored an image?

    ..website crash when trying to visit product pages.

    How does it crash?
    Do you read any error on the page, if yes can you post it here?

    Have you tried removing the entire plugin and reinstall it again?

    I backup wordpress.

    It crashed with a message like : wordpress is encounting some difficulties, bla bla… Don’t remember what exactly.

    Yes I tried to remove the plugin and install it again, it doesn’t work

    Plugin Author Frank

    (@frankspress)

    Try this, go to the plugin setting page, scroll to the bottom, send a test email then go to “Sent Alerts” tab.
    Can you see the sent email listed in there?

    This will tell me if the tables are working.

    kenteush29

    (@kenteush29)

    Plugin Author Frank

    (@frankspress)

    That can mean a million things, unfortunately I cannot troubleshoot it without looking at the specific errors generated on your machine ( that’s the generic WP alert ). It can even be a permission issue on your server, perhaps in your new install ( Linux or Windows ) WordPress cannot write to the database and cannot create custom new tables, crons etc.. Have you tried installing other plugins? Had any similar issue? If it was working before and now it doesn’t work anymore it seems to me to be server/config related but I cannot be sure. If you know how to look at the database tables I can guide you. Let me know.

    kenteush29

    (@kenteush29)

    I really don’t know how to deal with such technical issues…

    Maybe you could have a look on it ?

    I tried to delete your plugin then install it once again without success..

    Plugin Author Frank

    (@frankspress)

    Yeah I can have a look at it if you want.
    Will try to add a command which clears options on deactivation (they may have got corrupted when you restored WP) and see if that works.
    Will post an update soon.

    Plugin Author Frank

    (@frankspress)

    Hi, I just released an update that may fix your issue.
    If you’d like to try it out, please update the plugin to the latest version, activate then deactivate and finally activate it. This should clear the database issue.
    Let me know,
    Frank.

    It’s working perfectly. Thank you for keeping me informed.

    kenteush29

    (@kenteush29)

    Hello, I have a little bug on my product pages so I need to do some tests desactivating plugins.
    If I desactivate yours, are pending alerts will be deleted like before ?

    Plugin Author Frank

    (@frankspress)

    Hi, yes all tables will be deleted and re-written once you reactivate the plugin.
    Now I know it’s a bum but it should be that way.
    If you want to bypass a plugin, in the plugin main file at the top of the page you simply write return; and the plugin will be bypassed, no code will be executed and you don’t need to deactivate it.
    This works for any plugin.

Viewing 13 replies - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.