error in error.log on ActionScheduler_DBStore.php on line 907

#579940
  • Resolved Paolo Russolillo
    Rank Math free

    Inspecting error.log file on my server i can read that errors:

    thrown in /home/owgcknsm/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php on line 907
    [27-May-2023 09:37:25 UTC] PHP Fatal error: Uncaught InvalidArgumentException: The group “rocket-rucss” does not exist. in /home/owgcknsm/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php:907
    Stack trace:
    #0 /home/owgcknsm/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php(799): ActionScheduler_DBStore->claim_actions()
    #1 /home/owgcknsm/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_QueueRunner.php(157): ActionScheduler_DBStore->stake_claim()
    #2 /home/owgcknsm/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_QueueRunner.php(136): ActionScheduler_QueueRunner->do_batch()
    #3 /home/owgcknsm/public_html/wp-includes/class-wp-hook.php(308): ActionScheduler_QueueRunner->run()
    #4 /home/owgcknsm/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #5 /home/owgcknsm/public_html/wp-includes/plugin.php(565): WP_Hook->do_action()
    #6 /home/owgcknsm/public_html/wp-cron.php(188): do_action_ref_array()
    #7 {main}
    thrown in /home/owgcknsm/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php on line 907

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    From the error message, it seems like new tables are not getting created in the Database or some old plugin has left an incorrect entry.

    For initial troubleshooting, please follow these steps to fix the issue:
    https://rankmath.com/kb/fatal-error-after-1-0-49-update/

    You can follow only the first 2 steps and clear your caches. The following steps mentioned in the article are for advanced users.

    Here’s a video screencast:
    https://i.rankmath.com/KStFug

    Please clear all the cache, including the server after following the above process and let us know if the issue still persists.

    Hope that helps.

    Thank you.

    Tried your plugin but recived this message:

    The Repair Action Scheduler could not run because the repair database schema is obsolete.

    No actions performed.

    The Repair Action Scheduler plugin has been automatically deactivated.

    Rankmath is updated to the last vesion

    Hello,

    Please share your WordPress and FTP logins in the sensitive data section so that we can check the issue further for you.

    Looking forward to helping you.

    Thank you.

    Thanks, I used the alternative method, putting the snippet directly in the function.php file and now the problem is solved.
    In order not to use a snippet plugin I modified the snippet slightly to run it only in the site’s backend.
    The result is the following:

    add_action( ‘init’, function() {
    if ( is_admin() ) {
    delete_option( ‘schema-ActionScheduler_StoreSchema’ );
    }
    } );

    Maybe it can be useful to include it in the guide you have already published. Thanks for the help, I wish you good luck

    I’m sorry, I sang victory too soon… After a few minutes the error came back

    Hello,

    The issue on the website is not related to our plugin even though it calls files originating from it.

    The issue was caused by a group from the ActionScheduler library, which our plugin includes, that is related to the WP Rocket plugin no longer being present on the website and when actions that would be related to that group would run it would cause this issue.

    We have added back the group to the website and the error shouldn’t happen again but it does and it’s the same exact one we would recommend getting in touch with the WP Rocket support about the missing group.

    Don’t hesitate to get in touch if you have any other questions.

    Thank you so much for support.
    Best Regards

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘error in error.log on ActionScheduler_DBStore.php on line 907’ is closed to new replies.