Database commands out of sync
-
I enabled Wp debug logs for a day and inside that. 50-60% of logs were of Jetpack. Can you please help to fix this?
Check this logs ->
[01-Jun-2022 05:58:52 UTC] WordPress database error Commands out of sync; you can't run this command now for query UPDATE
wp_optionsSET
option_value= '1654063192' WHERE
option_name` = ‘action_scheduler_lock_async-request-runner’ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, ActionScheduler_QueueRunner->maybe_dispatch_async_request, ActionScheduler_OptionLock->set, update_option
[01-Jun-2022 05:58:52 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT COUNT(DISTINCT claim_id) FROM wp_actionscheduler_actions WHERE claim_id != 0 AND status IN ( ‘pending’, ‘in-progress’) made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, ActionScheduler_QueueRunner->maybe_dispatch_async_request, ActionScheduler_AsyncRequest_QueueRunner->maybe_dispatch, ActionScheduler_AsyncRequest_QueueRunner->allow, ActionScheduler_Abstract_QueueRunner->has_maximum_concurrent_batches, ActionScheduler_DBStore->get_claim_count
- The topic ‘Database commands out of sync’ is closed to new replies.