Title: WordPress database error
Last modified: May 21, 2025

---

# WordPress database error

 *  Resolved [Mati](https://wordpress.org/support/users/mattheus/)
 * (@mattheus)
 * [1 year ago](https://wordpress.org/support/topic/wordpress-database-error-206/)
 * 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 1 year ago by [Mati](https://wordpress.org/support/users/mattheus/).
    -  This topic was modified 1 year ago by [Mati](https://wordpress.org/support/users/mattheus/).
    -  This topic was modified 1 year ago by [Mati](https://wordpress.org/support/users/mattheus/).

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

 *  Plugin Author [Glen Don Mongaya](https://wordpress.org/support/users/glenwpcoder/)
 * (@glenwpcoder)
 * [1 year ago](https://wordpress.org/support/topic/wordpress-database-error-206/#post-18479772)
 * Hello [@mattheus](https://wordpress.org/support/users/mattheus/) ,
 * I’ll investigate this and get back to you, as it’s an issue I haven’t encountered
   before.
 * Glen
 *  Plugin Author [Glen Don Mongaya](https://wordpress.org/support/users/glenwpcoder/)
 * (@glenwpcoder)
 * [1 year ago](https://wordpress.org/support/topic/wordpress-database-error-206/#post-18479811)
 * 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/](https://wordpress.org/support/topic/wordpress-database-error-commands-out-of-sync-21/)
 *  Thread Starter [Mati](https://wordpress.org/support/users/mattheus/)
 * (@mattheus)
 * [1 year ago](https://wordpress.org/support/topic/wordpress-database-error-206/#post-18492500)
 * 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 1 year ago by [Mati](https://wordpress.org/support/users/mattheus/).
 *  Plugin Author [Glen Don Mongaya](https://wordpress.org/support/users/glenwpcoder/)
 * (@glenwpcoder)
 * [1 year ago](https://wordpress.org/support/topic/wordpress-database-error-206/#post-18498584)
 * 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.

 * ![](https://ps.w.org/drag-and-drop-multiple-file-upload-contact-form-7/assets/
   icon-128x128.jpg?rev=1984850)
 * [Drag and Drop Multiple File Upload for Contact Form 7](https://wordpress.org/plugins/drag-and-drop-multiple-file-upload-contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/drag-and-drop-multiple-file-upload-contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/drag-and-drop-multiple-file-upload-contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/drag-and-drop-multiple-file-upload-contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/drag-and-drop-multiple-file-upload-contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/drag-and-drop-multiple-file-upload-contact-form-7/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Glen Don Mongaya](https://wordpress.org/support/users/glenwpcoder/)
 * Last activity: [1 year ago](https://wordpress.org/support/topic/wordpress-database-error-206/#post-18498584)
 * Status: resolved