-
Hello,
Today I encountered two critical issues with the Rank Math plugin on my website:
1. PHP Fatal Error – Deadlock (Action Scheduler)
[05-Jul-2025 10:16:45 UTC] PHP Fatal error: Uncaught RuntimeException: Unable to claim actions. Database error: Deadlock found when trying to get lock; try restarting transaction. in /wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php:1016
Stack trace:
#0 /wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php(861): ActionScheduler_DBStore->claim_actions(2619018, 25, NULL, ”, ”)
#1 /wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_QueueRunner.php(179): ActionScheduler_DBStore->stake_claim(25)
#2 /wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_QueueRunner.php(158): ActionScheduler_QueueRunner->do_batch(25, ‘Async Request’)
#3 /wp-includes/class-wp-hook.php(324): ActionScheduler_QueueRunner->run(‘Async Request’)
#4 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
#5 /wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#6 /wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_AsyncRequest_QueueRunner.php(48): do_action(‘action_schedule…’, ‘Async Request’)
#7 /wp-content/plugins/woocommerce/includes/libraries/wp-async-request.php(147): ActionScheduler_AsyncRequest_QueueRunner->handle()
#8 /wp-includes/class-wp-hook.php(324): WP_Async_Request->maybe_handle(”)
#9 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
#10 /wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#11 /wp-admin/admin-ajax.php(207): do_action(‘wp_ajax_nopriv_…’)
#12 {main}2. PHP Warnings and Fatal Error – Missing File / Class
[05-Jul-2025 12:24:19 UTC] PHP Warning: include(/wp-content/plugins/seo-by-rank-math/vendor/composer/../../includes/modules/redirections/class-db.php): Failed to open stream: No such file or directory in /wp-content/plugins/query-monitor/vendor/composer/ClassLoader.php on line 576
[05-Jul-2025 12:24:19 UTC] PHP Warning: include(): Failed opening ‘/wp-content/plugins/seo-by-rank-math/vendor/composer/../../includes/modules/redirections/class-db.php’ for inclusion (include_path=’…’) in /wp-content/plugins/query-monitor/vendor/composer/ClassLoader.php on line 576
[05-Jul-2025 12:24:19 UTC] PHP Fatal error: Uncaught Error: Class “RankMath\Redirections\DB” not found in /wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-redirector.php:244
Stack trace:
#0 /wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-redirector.php(114): RankMath\Redirections\Redirector->everything()
#1 /wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-redirector.php(81): RankMath\Redirections\Redirector->flow()
#2 /wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-redirections.php(118): RankMath\Redirections\Redirector->__construct()
#3 /wp-includes/class-wp-hook.php(324): RankMath\Redirections\Redirections->do_redirection(Object(WP))
#4 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#5 /wp-includes/plugin.php(565): WP_Hook->do_action(Array)
#6 /wp-includes/class-wp.php(835): do_action_ref_array(‘wp’, Array)
#7 /wp-includes/functions.php(1342): WP->main(”)
#8 /wp-blog-header.php(16): wp()
#9 /index.php(17): require(‘/wp-blog-header.php’)
#10 {main}
thrown in /wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-redirector.php on line 244
Can you please advise what could be causing these issues and how to resolve them?
I have not made any recent changes to the plugin files, and all updates are current.If you need further logs or more details, please let me know.
Thank you for your support!
Best regards,
Inga
The ticket ‘PHP Fatal error Class “RankMath\Redirections\DB” not found and Deadlock’ is closed to new replies.