• Resolved stavroscha

    (@stavrosomo)


    There is a conflict between Action Scheduler and Woocommerce on the latest update. It outputs an error message as soon as i updated the plugin. That is a shame that this is happening. Looks like no testing has been done….

    • This topic was modified 3 years, 9 months ago by stavroscha.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Gregor Capuder

    (@capuderg)

    Hi @stavrosomo,

    could you please let me know which version of WooCommerce are you using?

    We tested with the latest version of our plugin and WooCommerce – there were no issues.

    Do you maybe get a debug error? If you could please try to enable WP Debug and the Debug Log, that would be great. Instructions can be found in this article: https://www.wpbeginner.com/wp-tutorials/how-to-set-up-wordpress-error-logs-in-wp-config/

    Once the WP Debug and the Debug log are enabled, please recreate the issue and then check the .../wp-content/debug.log file on your server. Any errors should be logged there. Please copy&paste them here, so we can take a look.

    Take care!

    Thread Starter stavroscha

    (@stavrosomo)

    Hi there,

    I hope that helps. I am sorry but i can not leave the website to go down just to take logs. There is a lot of traffic at the moment so i am risking it again. This is what i got as well.

    Here is the error message i received when i tried and update it again after restoring the website.

    https://ibb.co/hXJyjY2

    • This reply was modified 3 years, 9 months ago by stavroscha.
    • This reply was modified 3 years, 9 months ago by stavroscha.
    Plugin Author Gregor Capuder

    (@capuderg)

    Hi @stavrosomo,

    thank you very much for the screenshot of the error.

    It looks like the Action Scheduler library that is used in our plugin (and also in other plugins, like WooCommerce, …) can’t create the database tables it needs on your server.

    It’s strange because we are using the Action Scheduler library for a long time (since version 2.1.0) and as I can see you are currently using version 2.8.0. I don’t know why this error was not causing issues on your site sooner.

    Are you using any other plugins that might be using Action Scheduler library? Like WooCommerce or some other plugin?

    Here is a guide on how users with this similar issue could resolve it: https://wpmailsmtp.com/docs/how-to-troubleshoot-action-scheduler-issues-wp-mail-smtp-2-1-1/

    But do know, that if your server is causing issues and not allowing to create these DB tables, then the installation & activation of the Action Scheduler plugin (the standalone plugin mentioned in step 2 of the guide), your site might also cause a fatal error and you’ll have to restore your site again.

    Do you maybe have a staging site, you can try these things out?

    Take care!

    Thread Starter stavroscha

    (@stavrosomo)

    Hi there,

    I have not got woocommerce installed but i have a plugin called Booked that is for appointments booking. Maybe that is the one that is using action scheduler. But to be fair i have that installed from before and it was not causing any issues. Not sure why it is causing issues now….

    Anw i resolved the issue by downgrading your plugin to the previous version and that was fine after that. So there must be something to do with the additions you added on the latest version of your plugin.

    Regards

    Plugin Author Gregor Capuder

    (@capuderg)

    Hi @stavrosomo,

    Action Scheduler had a bug in it (GH issue, which we reported to them), that is causing issues with their recent bigger update 3.2.0, so we had to change the loading priority/order of the Action Scheduler library in our plugin in order to prevent any issue with other plugins loading the Action Scheduler library v3.2.0. So it would load like most other WP plugins having the Action Scheduler library: WooCommerce, WPForms, …

    Users experienced the same issue (Fatal Error because of the missing DB tables) with the old loading technique that for some strange reason didn’t trigger on your site…

    The solution for our plugin is not to go back to the old loading technique. I would advise you to contact your hosting company support and ask them why custom DB tables are not created on your server from the WP site.

    Maybe it’s permission issues? If they have any MySQL debug logs, they might find the issue and resolve it for you.

    That together with the guide I linked above should resolve your issue.

    Take care!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problem with the latest update’ is closed to new replies.