• Resolved phylogram

    (@phylogram)


    Hi,

    when installing woocommerce over www.remarpro.com, it comes with the package action-scheduler, which is not multisite compatible (see last qa: https://actionscheduler.org/faq/ ): In the new version, it writes tables to the database, but only for the main/first page. In the other pages, you get warnings like Table 'wp_2_actionscheduler_groups' doesn't exist and worse, when unable to save an action, the plugin throws a fatal error PHP Fatal error: Uncaught RuntimeException: Error saving action: Error saving action: Table 'wp_3_actionscheduler_actions' doesn't exist.

    This problem exists, when activating the plugin networkwide, as well as when activating for each site, but does not affect the main/first site.

    I guess, an easy solution would be, to just use the Github version and not install actionscheduler. But you might have a reason for using the extension and certainly, others use this version on multisite. Any ideas?

    Thanks!
    Philip

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Philip,

    Sorry to hear you’re running into issues with Action Scheduler on your multisite install!

    As a first step, could you check **WooCommerce > Status** – scroll down to the bottom of the page and let us know what version of Action Scheduler you are running?

    PHP Fatal error: Uncaught RuntimeException: Error saving action: Error saving action: Table 'wp_3_actionscheduler_actions' doesn't exist

    This error was seen with some versions of Action Scheduler for a few different reasons. The Action Scheduler team has put in a succession of fixes for this issue. Fixes are released on the GH repo more quickly than Action Scheduler is updated in WooCommerce core. In short, the fix you need may be available in the GH repo version even though it hasn’t been released packaged with WooCommerce core.

    I guess, an easy solution would be, to just use the Github version and not install actionscheduler.

    Yes. You can always install the latest version of Action Scheduler as a standalone plugin on your site. Your site will use the newest version of Action Scheduler it finds available, so this is a great way to access fixes for Action Scheduler issues before they are released in WooCommerce core.

    Let us know what version of AS you are running on your site where you’re seeing this issue!

    Thread Starter phylogram

    (@phylogram)

    Hi Jess,

    thanks for your informative reply.

    Update: After uninstall and reinstall I am not able to reproduce the issue. Sorry to bother you. Below is what was originally my post for reference.

    The Action Scheduler version is 3.1.6. Which is according to packagist the newest version.

    But I guess I actually found the issue in the newest version. I told them what I found: https://github.com/woocommerce/action-scheduler/issues/558#issuecomment-635277860

    • This reply was modified 4 years, 6 months ago by phylogram.

    Hi Philip – It looks like you and @rrennick are on top of it! Thanks for reporting this on GH and following up there.

    Sounds like everything is resolved now, so I’ll go ahead and close out this thread ?? Don’t hesitate to open a new one if you run into any other issues.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘ActionScheduler Extension on Multisite leads to fatal error’ is closed to new replies.