• Resolved bjf2000

    (@bjf2000)


    As of v12.2 and continuing in v12.3 (if it happened before these versions, it was so low-volume so as not to catch my notice), I’ve seen a periodic flurry of errors like this in /public_html/error_log. I don’t see any visible problems, and the Jetpack backup is still happening, but I’d like to get Jetpack back to not spewing these notices, if possible.

    [06-Jul-2023 22:30:42 UTC] WordPress database error Commands out of sync; you can't run this command now for query SELECT option_value FROM pre_lmRM9Z34_options WHERE option_name = 'jetpack_sync_full_status' LIMIT 1 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\Jetpack\Sync\Sender->do_full_sync, Automattic\Jetpack\Sync\Modules\Full_Sync_Immediately->get_status, Jetpack_Options::get_raw_option
    [06-Jul-2023 22:30:42 UTC] WordPress database error Commands out of sync; you can't run this command now for query SELECT option_value FROM pre_lmRM9Z34_options WHERE option_name = 'jetpack_sync_full_status' LIMIT 1 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\Jetpack\Sync\Sender->do_full_sync, Automattic\Jetpack\Sync\Modules\Full_Sync_Immediately->get_status, Jetpack_Options::get_raw_option
    
    [08-Jul-2023 00:52:54 UTC] WordPress database error Commands out of sync; you can't run this command now for query SELECT option_value FROM pre_lmRM9Z34_options WHERE option_name = 'jpsq_sync_checkout' made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\Jetpack\Sync\Sender->do_sync, Automattic\Jetpack\Sync\Dedicated_Sender::spawn_sync, Automattic\Jetpack\Sync\Queue->is_locked, Automattic\Jetpack\Sync\Queue->get_checkout_id
    [08-Jul-2023 00:52:54 UTC] WordPress database error Commands out of sync; you can't run this command now for query SELECT count(*) FROM pre_lmRM9Z34_options WHERE option_name LIKE 'jpsq_sync-%' made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\Jetpack\Sync\Sender->do_sync, Automattic\Jetpack\Sync\Dedicated_Sender::spawn_sync, Automattic\Jetpack\Sync\Queue->size
    [08-Jul-2023 00:52:54 UTC] WordPress database error Commands out of sync; you can't run this command now for query SELECT option_value FROM pre_lmRM9Z34_options WHERE option_name = 'jetpack_sync_full_status' LIMIT 1 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\Jetpack\Sync\Sender->do_full_sync, Automattic\Jetpack\Sync\Modules\Full_Sync_Immediately->get_status, Jetpack_Options::get_raw_option
    

    If you’re curious what cron events exist for Jetpack, there are quite a few:

    https://i.imgur.com/qYmNYzz.png
    https://i.imgur.com/aQszLFw.png
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Bruce (a11n)

    (@bruceallen)

    Happiness Engineer

    Hi @bjf2000

    Could you please post your site URL here so that we can have a look?

    If you want it to remain private, you can also contact us via this contact form

    If you choose to reach out directly, please include a link to this thread.

    Thanks!

    Thread Starter bjf2000

    (@bjf2000)

    OK, I did that over on the form.

    Plugin Support lastsplash (a11n)

    (@lastsplash)

    Thanks for submitting the form. We have received your email and will continue investigating via email.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WordPress database error Commands out of sync’ is closed to new replies.