LiteSpeed 6.3 update – Action Scheduler, commands out of sync
-
Hello LS Support,
Following updating to LiteSpeed Cache version 6.3 today I saw the following in the PHP error log:
WordPress database error Commands out of sync; you can’t run this command now for query SELECT option_value FROM wp_options 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_Lock->is_locked, ActionScheduler_OptionLock->get_expiration, ActionScheduler_OptionLock->get_existing_lock
WordPress database error Commands out of sync; you can’t run this command now for query SELECT option_value FROM wp_options 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, ActionScheduler_OptionLock->get_existing_lock
WordPress database error Commands out of sync; you can’t run this command now for query INSERT INTOwp_options
(option_name
,option_value
,autoload
) VALUES (‘action_scheduler_lock_async-request-runner’, ‘669ed78cb38156.04979945|1721685960’, ‘no’) made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, ActionScheduler_QueueRunner->maybe_dispatch_async_request, ActionScheduler_OptionLock->setI don’t what these entries mean – what causes the commands to be ‘out of sync’ and not so not work?
I am on a LiteSpeed shared server, use a small amount of my 4GB physical memory, all plugins and themes are up to date, Site Health reports “Great job, everything is running smoothly”.
I have setup cron jobs in cPanel (disabled wp cron) to run half-hourly. There are often some overdue cron jobs. In the overdue crons today I note the following: action_scheduler_run_queue; litespeed_task_imgoptm_pull and litespeed_task_lqip.
Are these overdue crons the cause of the above PHP errors? Does this mis-timing affect the Plugin’s performance? When the crons eventually run will that fix the above errors and I don’t need to do anything?
I am confused and would greatly appreciate any help. Thank you in advance for your time.
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.