Title: WordPress database error when cloning
Last modified: September 14, 2024

---

# WordPress database error when cloning

 *  Resolved [flinty2000](https://wordpress.org/support/users/flinty2000/)
 * (@flinty2000)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/wordpress-database-error-when-cloning/)
 * Hi,
 * We run a wordpress/woocommerce multisite with 3 subsites.
 * We tried to clone one of the subsites but when the clone process got to around
   5% we get got the following error message: 
   **WordPress database error: Could
   not perform query because it contains invalid data.**
 * **Missing row _23558_ in _wp\_2\_actionscheduler\_actions_ – could not be preloaded
   
   Missing row _23559_ in _wp\_2\_actionscheduler\_actions_ – could not be preloadedMissing
   row _23560_ in _wp\_2\_actionscheduler\_actions_ – could not be preloaded
 * It’s strange because our staging site on blogvault cloned the site within 10 
   minues without issue . The staging site is an exact copy of our live site.
 * Can you advise what maybe causing the issue please?
 * Thank you

Viewing 1 replies (of 1 total)

 *  Plugin Author [Never Settle](https://wordpress.org/support/users/neversettle/)
 * (@neversettle)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/wordpress-database-error-when-cloning/#post-18078557)
 * Hey [@flinty2000](https://wordpress.org/support/users/flinty2000/)
 * Sorry for the late response. Action Scheduler tables tend to be large and cloning
   the data from the tables could lead in the errors. The data is loaded into memory
   in batches, and from the log size, it can be very large and in most cases with
   unique constraints. I would advise omitting these tables during the clone process
   or enabling the “Skip Views” and “Skip Constraints” in the cloner settings

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/ns-cloner-site-copier/assets/icon-256x256.gif?rev=2323308)
 * [NS Cloner - Site Copier](https://wordpress.org/plugins/ns-cloner-site-copier/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ns-cloner-site-copier/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ns-cloner-site-copier/)
 * [Active Topics](https://wordpress.org/support/plugin/ns-cloner-site-copier/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ns-cloner-site-copier/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ns-cloner-site-copier/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Never Settle](https://wordpress.org/support/users/neversettle/)
 * Last activity: [1 year, 7 months ago](https://wordpress.org/support/topic/wordpress-database-error-when-cloning/#post-18078557)
 * Status: resolved