Title: WordPress database error on Export Selected action
Last modified: December 7, 2025

---

# WordPress database error on Export Selected action

 *  Resolved [mycustomsoftware](https://wordpress.org/support/users/mycustomsoftware/)
 * (@mycustomsoftware)
 * [5 months, 3 weeks ago](https://wordpress.org/support/topic/wordpress-database-error-on-export-selected-action/)
 * **WordPress database error:** [Commands out of sync; you can’t run this command
   now]
   `SELECT option_value FROM wp_options WHERE option_name = 'action_scheduler_lock_async-
   request-runner'`
 * **WordPress database error:** [Commands out of sync; you can’t run this command
   now]
   `SELECT option_value FROM wp_options WHERE option_name = 'action_scheduler_lock_async-
   request-runner'`
 * **WordPress database error:** [Commands out of sync; you can’t run this command
   now]
   `SHOW FULL COLUMNS FROM ``wp_options`

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

 *  Thread Starter [mycustomsoftware](https://wordpress.org/support/users/mycustomsoftware/)
 * (@mycustomsoftware)
 * [5 months, 3 weeks ago](https://wordpress.org/support/topic/wordpress-database-error-on-export-selected-action/#post-18746328)
 * WP Version: 6.9
   Post SMTP Version: 3.6.2
 *  Plugin Support [M Aqib Khan](https://wordpress.org/support/users/aqibkhan9/)
 * (@aqibkhan9)
 * [5 months, 3 weeks ago](https://wordpress.org/support/topic/wordpress-database-error-on-export-selected-action/#post-18746811)
 * Hello [@mycustomsoftware](https://wordpress.org/support/users/mycustomsoftware/),
 * We hope this message finds you well.
 * Thank you for reaching out to our Support team. We’re truly sorry to hear that
   you’ve encountered this issue.
 * The errors you’re seeing usually appear when another plugin or process interrupts
   the normal MySQL query flow during the Export Selected action. Post SMTP doesn’t
   run or alter database queries at this level, so something else is likely interfering
   with Action Scheduler while the export is running.
 * Here’s what you can do to narrow it down:
    1. Clear the Action Scheduler queue under Tools> Scheduled Actions.
    2. Temporarily disable other plugins that rely on Action Scheduler and try the 
       export again.
    3. Check your database server for slow queries or locked tables.
    4. Turn on WP_DEBUG_LOG so WordPress can record the full stack trace when the error
       happens.
 * Let me know if this helps.
 * Warm regards,
   _[ Signature deleted, don’t do that here, OK? ]_
 *  Plugin Support [M Aqib Khan](https://wordpress.org/support/users/aqibkhan9/)
 * (@aqibkhan9)
 * [5 months, 1 week ago](https://wordpress.org/support/topic/wordpress-database-error-on-export-selected-action/#post-18759846)
 * Hello @mycustomsoftware ,
 * We hope you are doing well.
 * We are marking this thread as resolved due to inactivity. If you encounter any
   further issues, please feel free to open a new thread.
 * Have a great day!
 * Thanks and regards,
   _[ Signature deleted, don’t do that here, OK? ]_

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwordpress-database-error-on-export-selected-action%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/post-smtp/assets/icon-128x128.gif?rev=3209655)
 * [Post SMTP – Complete Email Deliverability and SMTP Solution with Email Logs, Alerts, Backup SMTP & Mobile App](https://wordpress.org/plugins/post-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/post-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-smtp/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [M Aqib Khan](https://wordpress.org/support/users/aqibkhan9/)
 * Last activity: [5 months, 1 week ago](https://wordpress.org/support/topic/wordpress-database-error-on-export-selected-action/#post-18759846)
 * Status: resolved