Fatal Error ActionScheduler_DBStore.php

#619985
  • Resolved Inga
    Rank Math free

    Hello,

    I keep getting this kind of fatal error (below). For 2 months I’ve used this code to fix it:

    add_action( ‘init’, function() { delete_option( ‘schema-ActionScheduler_StoreSchema’ ); } );
    but it is not working anymore.

    Can you help me?

    2023-08-20T06:57:21+00:00 CRITICAL Uncaught InvalidArgumentException: Unidentified action 4625186 in /home/bath/domains/XXXX.com/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php:1075
    Stack trace:
    #0 /home/bath/domains/XXXX.com/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(120): ActionScheduler_DBStore->mark_failure(4625186)
    #1 /home/bath/domains/XXXX.com/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(98): ActionScheduler_Abstract_QueueRunner->handle_action_error(4625186, Object(Exception), ‘Async Request’, true)
    #2 /home/bath/domains/XXXX.com/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_QueueRunner.php(166): ActionScheduler_Abstract_QueueRunner->process_action(4625186, ‘Async Request’)
    #3 /home/bath/domains/XXXX.com/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_QueueRunner.php(136): ActionScheduler_QueueRunner->do_batch(25, ‘Async Request’)
    #4 /home/bath/domains/XXXX.com/public_html/wp-includes/class-wp-hook.php(308): ActionScheduler_QueueRunner->run(‘Async Request’)
    #5 /home/bath/domains/XXXX.com/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array)
    #6 /home/bath/domains/XXXX.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #7 /home/bath/domains/XXXX.com/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_AsyncRequest_QueueRunner.php(52): do_action(‘action_schedule…’, ‘Async Request’)
    #8 /home/bath/domains/XXXX.com/public_html/wp-content/plugins/woocommerce/includes/libraries/wp-async-request.php(147): ActionScheduler_AsyncRequest_QueueRunner->handle()
    #9 /home/bath/domains/XXXX.com/public_html/wp-includes/class-wp-hook.php(308): WP_Async_Request->maybe_handle(”)
    #10 /home/bath/domains/XXXX.com/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array)
    #11 /home/bath/domains/XXXX.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #12 /home/bath/domains/XXXX.com/public_html/wp-admin/admin-ajax.php(188): do_action(‘wp_ajax_as_asyn…’)
    #13 {main}
    thrown w /home/bath/domains/XXXX.com/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php w linii 1075

    2023-08-20T08:32:02+00:00 CRITICAL Uncaught InvalidArgumentException: Unidentified action 4626165 in /home/bath/domains/XXXX.com/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php:1075
    Stack trace:
    #0 /home/bath/domains/XXXX.com/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(120): ActionScheduler_DBStore->mark_failure(4626165)
    #1 /home/bath/domains/XXXX.com/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(98): ActionScheduler_Abstract_QueueRunner->handle_action_error(4626165, Object(Exception), ‘Async Request’, true)
    #2 /home/bath/domains/XXXX.com/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_QueueRunner.php(166): ActionScheduler_Abstract_QueueRunner->process_action(4626165, ‘Async Request’)
    #3 /home/bath/domains/XXXX.com/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_QueueRunner.php(136): ActionScheduler_QueueRunner->do_batch(25, ‘Async Request’)
    #4 /home/bath/domains/XXXX.com/public_html/wp-includes/class-wp-hook.php(308): ActionScheduler_QueueRunner->run(‘Async Request’)
    #5 /home/bath/domains/XXXX.com/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array)
    #6 /home/bath/domains/XXXX.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #7 /home/bath/domains/XXXX.com/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_AsyncRequest_QueueRunner.php(52): do_action(‘action_schedule…’, ‘Async Request’)
    #8 /home/bath/domains/XXXX.com/public_html/wp-content/plugins/woocommerce/includes/libraries/wp-async-request.php(147): ActionScheduler_AsyncRequest_QueueRunner->handle()
    #9 /home/bath/domains/XXXX.com/public_html/wp-includes/class-wp-hook.php(308): WP_Async_Request->maybe_handle(”)
    #10 /home/bath/domains/XXXX.com/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array)
    #11 /home/bath/domains/XXXX.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #12 /home/bath/domains/XXXX.com/public_html/wp-admin/admin-ajax.php(188): do_action(‘wp_ajax_as_asyn…’)
    #13 {main}
    thrown w /home/bath/domains/XXXX.com/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php w linii 1075

    Kind Regards,
    Inga

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

    Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.

    The fatal error you are seeing is just a temporary one and it won’t cause any issues on the website. That error happens when you are trying to delete actions that are still being accessed and that is happening at the same time you are deleting those, which makes the functions fail because the actions are removed.

    A simple reload of the page will clear the error and the website will not suffer from it.

    Hope this helps clarify the situation.

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

    Inga
    Rank Math free

    Hello,

    Thank You very much for your answer. Are you really sure it is a minor problem? My server is encountering some strange problems with ram and shorthening storage issue. The only fatal error wordpress detects is with ActionScheduler.

    Is there any way to get rid of this error?

    Best Regards,
    Inga

    Hello,

    Can you please let us know how often the error is generated? Also, please clear your website cache and see if the errors are still showing.

    If the issue persists, let us know here so we can assist further.

    Looking forward to helping you.

    Inga
    Rank Math free

    Hello,

    The problem is generated on daily basis – sometimes once, but lately 6 times a day. Clearing cache does not help.

    Kind Regards,
    Inga

    Hello,

    Thank you for getting back to us.

    To help you investigate this issue, we might need to take a closer look at your website and settings. Please follow these steps:

    • Edit the first post on this ticket and include your WordPress and FTP logins in the Sensitive Data section. This is a secure section that only our support staff can access.
      Sensitive Data Section
    • Make sure you take a complete backup of your website before sharing the information with us.
    • If you prefer, you can use this plugin to generate a temporary login URL to your website and share that with us instead: https://wordpress.org/plugins/temporary-login-without-password/
    • You can also use this plugin to monitor what changes our staff might make on your website (if any): https://wordpress.org/plugins/wp-security-audit-log/

    We appreciate your cooperation and patience. Thank you for choosing Rank Math.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘Fatal Error ActionScheduler_DBStore.php’ is closed to new replies.