• ImageMati

    (@mattheus)


    I got many times this in the debug list why? and how to fix it

    [21-May-2025 12:40:31 UTC] 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 = 'wc_pending_batch_processes' LIMIT 1 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\WooCommerce\Internal\BatchProcessing\BatchProcessingController->Automattic\WooCommerce\Internal\BatchProcessing\{closure}, Automattic\WooCommerce\Internal\BatchProcessing\BatchProcessingController->remove_or_retry_failed_processors, Automattic\WooCommerce\Internal\BatchProcessing\BatchProcessingController->get_enqueued_processors, get_option

    [21-May-2025 12:40:31 UTC] 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 = 'drag_n_drop_disable_auto_delete' LIMIT 1 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, dnd_cf7_auto_clean_dir, dnd_cf7_settings, get_option

    dnd_cf7_auto_clean_dir

    dnd_cf7_settings

    is from this plugin or not?

    • This topic was modified 9 months ago by ImageMati.
    • This topic was modified 9 months ago by ImageMati.
    • This topic was modified 9 months ago by ImageMati.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author ImageGlen Don Mongaya

    (@glenwpcoder)

    Hello @mattheus ,

    I’ll investigate this and get back to you, as it’s an issue I haven’t encountered before.

    Glen

    Plugin Author ImageGlen Don Mongaya

    (@glenwpcoder)

    The first error seems is related to WooCommerce you may check this topic here https://wordpress.org/support/topic/wordpress-database-error-commands-out-of-sync-21/

    Thread Starter ImageMati

    (@mattheus)

    i know but this one form yours plugin:

    [21-May-2025 12:40:31 UTC] 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 = 'drag_n_drop_disable_auto_delete' LIMIT 1 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, dnd_cf7_auto_clean_dir, dnd_cf7_settings, get_option

    • This reply was modified 8 months, 3 weeks ago by ImageMati.
    Plugin Author ImageGlen Don Mongaya

    (@glenwpcoder)

    Yes, that’s my plugin error.

    I’m assuming that this solution will also resolve the issue that’s the same with WooCommerce.

    Could you check if the Super Cache and Autoptimize plugins are active, then clear the cache and see if this will help to resolve the issue?

    Please let me know.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘WordPress database error’ is closed to new replies.