Title: Duplication failed
Last modified: August 22, 2016

---

# Duplication failed

 *  Resolved [diegojmaldonado](https://wordpress.org/support/users/diegojmaldonado/)
 * (@diegojmaldonado)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/duplication-failed-1/)
 * Hi!
 * I’m running WordPress 4.1 and the 1.2 version of the plugin; the error I’m facing
   is attached down below. Would you please take a look at it and try to help me
   out?. Thanks.
 * Duplication failed :
 * ERROR SQL ON : CREATE TABLE IF NOT EXISTS `wp_9_commentmeta` LIKE my-cms-landingpages.`
   wp_3_commentmeta`
 * WPDB ERROR : You have an error in your SQL syntax; check the manual that corresponds
   to your MySQL server version for the right syntax to use near ‘-cms-landingpages.`
   wp_3_commentmeta`‘ at line 1
 * [https://wordpress.org/plugins/multisite-clone-duplicator/](https://wordpress.org/plugins/multisite-clone-duplicator/)

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

 *  Plugin Author [Pierre Dargham](https://wordpress.org/support/users/pdargham/)
 * (@pdargham)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/duplication-failed-1/#post-5739661)
 * Hi !
 * The problem might come from the name of your database : because it use some dashes‘-‘,
   it needs to be between backticks.
 * Can you please test the patch I’ve made ? Just replace the file lib/data.php 
   in the directory of the plugin by this one I just pushed on github :
    [https://github.com/pierre-dargham/multisite-clone-duplicator/blob/master/lib/data.php](https://github.com/pierre-dargham/multisite-clone-duplicator/blob/master/lib/data.php)
 * If if solve the problem, we will include this patch in the next version of the
   plugin, in a few weeks.
 * Best regards,
 * Pierre
 *  Thread Starter [diegojmaldonado](https://wordpress.org/support/users/diegojmaldonado/)
 * (@diegojmaldonado)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/duplication-failed-1/#post-5739772)
 * Great news, your solution worked like a charm!
    Please include this on the next
   version.
 * Thanks.
 *  [webby1973](https://wordpress.org/support/users/webby1973/)
 * (@webby1973)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/duplication-failed-1/#post-5739821)
 * [@pierre](https://wordpress.org/support/users/pierre/) : I can confirm that using
   the new data.php solve the problem.
    I had the same issue as Diego, with a website
   named “blog-demo.webattack.it” and subfolders as separate sites. Now it’s working
   🙂
 *  [fatjester](https://wordpress.org/support/users/fatjester/)
 * (@fatjester)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/duplication-failed-1/#post-5739929)
 * [@pierre](https://wordpress.org/support/users/pierre/): I can second that the
   new data.php solves this – I had the same issue.
    Thanks!
 *  [savman](https://wordpress.org/support/users/savman/)
 * (@savman)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/duplication-failed-1/#post-5739938)
 * 3rd. cheers.

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

The topic ‘Duplication failed’ is closed to new replies.

 * ![](https://ps.w.org/multisite-clone-duplicator/assets/icon-256x256.png?rev=1011466)
 * [MultiSite Clone Duplicator](https://wordpress.org/plugins/multisite-clone-duplicator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/multisite-clone-duplicator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/multisite-clone-duplicator/)
 * [Active Topics](https://wordpress.org/support/plugin/multisite-clone-duplicator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/multisite-clone-duplicator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/multisite-clone-duplicator/reviews/)

 * 5 replies
 * 5 participants
 * Last reply from: [savman](https://wordpress.org/support/users/savman/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/duplication-failed-1/#post-5739938)
 * Status: resolved