• Many of my sites had the following error a few times in the past month:

    WordPress database error Commands out of sync; you can't run this command now for query INSERT INTO wp_options (option_name, option_value, autoload) VALUES ('_transient_timeout_sirsc_cron_sanity_check', '1656579046', 'no') ON DUPLICATE KEY UPDATE option_name = VALUES(option_name), option_value = VALUES(option_value), autoload = VALUES(autoload) made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, SIRSC\Cron\cron_sanity_check, set_transient, add_option

    Probably not a big deal, but I thought I’d report it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Gal Baras

    (@galbaras)

    Looking through the error logs of multiple sites, I see several other errors related to the plugin’s use of the shutdown action to update its transient.

    WordPress database error Unknown MySQL error for query SELECT option_value FROM wp_options WHERE option_name = '_transient_sirsc_cron_sanity_check' LIMIT 1 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, SIRSC\Cron\cron_sanity_check, get_transient, get_option

    WordPress database error Unknown MySQL error for query INSERT INTO wp_options (option_name, option_value, autoload) VALUES ('_transient_timeout_sirsc_cron_sanity_check', '1658812305', 'no') ON DUPLICATE KEY UPDATE option_name = VALUES (option_name), option_value = VALUES (option_value), autoload = VALUES (autoload) made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, SIRSC\Cron\cron_sanity_check, set_transient, add_option

    Thread Starter Gal Baras

    (@galbaras)

    This is still an ongoing problem. Not critical, perhaps, but fills up error logs ??

    Thread Starter Gal Baras

    (@galbaras)

    Was this fixed in v7.x?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Database error: command out of sync’ is closed to new replies.