Uncaught RuntimeException: Unable to release actions from claim id 0

#957808
  • Resolved Robert Brinkman
    Rank Math free

    I’m having various issues with CPU usage and I believe they come from every visitor on the website producing this error in the logs…

    AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught RuntimeException: Unable to release actions from claim id 0. in /var/www/vhosts/URL/httpdocs/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php:1128\nStack trace:\n#0 /var/www/vhosts/URL/httpdocs/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(440): ActionScheduler_DBStore->release_claim()\n#1 /var/www/vhosts/URL/httpdocs/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_FatalErrorMonitor.php(95): ActionScheduler_HybridStore->release_claim()\n#2 /var/www/vhosts/URL/httpdocs/wp-includes/class-wp-hook.php(324): ActionScheduler_FatalErrorMonitor->handle_unexpected_shutdown()\n#3 /var/www/vhosts/URL/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#4 /var/www/vhosts/URL/httpdocs/wp-in…’

    I’ve tried everything to fix this. Cleared action scheduler logs, rebuilt all the tables, various action scheduler plugins (including the rankmath plugin), but nothing works…

    Can you take a look?

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

    We apologize for the issue you are facing with the error message related to the Action Scheduler. This error can occur due to conflicts with other plugins or issues with the Action Scheduler tables not being properly managed.

    Here are some steps you can take to try and resolve this issue:

    1. Backup Your Database: Before making any changes, ensure you have a backup of your database. This is crucial to prevent data loss.

    2. Repair Action Scheduler: You can use our Repair Action Scheduler plugin to fix this issue automatically on most sites. You can download it from here and follow these steps:

      • Click on the green “Code” button and then on “Download ZIP”.
      • Upload that ZIP file to your site via Plugins → Add New → Upload Plugin.
      • Activate the plugin, and it should automatically fix the issues and deactivate itself.

      Repair Action Scheduler Error Plugin

    3. Check for Conflicts: If the issue persists, it may be due to a conflict with another plugin or theme. Try deactivating other plugins one by one to identify if any of them are causing the conflict.

    4. Advanced Fix: If you’re comfortable with code, you can add a snippet to delete the option related to the Action Scheduler schema:

      • Go to the Snippets menu in your WordPress dashboard and click Add New.
      • Name the snippet and add the following code:
        add_action( 'init', function() { delete_option( 'schema-ActionScheduler_StoreSchema' ); } );
      • Select ‘Only run in administration area’ and save it.
      • After saving, deactivate the snippet and try activating Rank Math again.
    5. Clear Cache: Make sure to clear all caches, including server cache, after making these changes.

    If these steps do not resolve the issue, please reply to this ticket, and a human agent from the Rank Math Support team will take over and assist you further. Thank you for your patience!

    Sources:
    Fatal Error Happening on Some Installations After 1.0.49 Update » Rank Math

    Robert Brinkman
    Rank Math free

    I’ve already tried all those solutions – that response is copy and pasted from another support ticket (which is a different issue to this one).

    I’ve just migrated the website from AIOSEO where I wasn’t having any issues.

    Hello,

    Thank you for contacting support.

    This error usually happens when the database’s temporary data is full and it cannot write any more data inside it.

    We recommend consulting with your hosting provider about this and making sure that there is sufficient space in your database to handle the write requests from the ActionScheduler library.

    It’s important to note that this issue is not directly related to our plugin but rather to the ActionScheduler library that we include in our plugin.

    Even if you completely delete our plugin and have the ActionScheduler enabled via WooCommerce or any other plugin that uses it, the error will remain on the website.

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

    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 3 replies - 1 through 3 (of 3 total)

The ticket ‘Uncaught RuntimeException: Unable to release actions from claim id 0’ is closed to new replies.