Title: [Plugin: WordPress Move] Error importing database
Last modified: August 20, 2016

---

# [Plugin: WordPress Move] Error importing database

 *  [gregweed](https://wordpress.org/support/users/gregweed/)
 * (@gregweed)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-wordpress-move-error-importing-database/)
 * I have your product setup on my production site (1.3.1) and my “soon to be” development
   site. I’m able able to successfully migrate from the production site but when
   I try to complete the migration on the development site, I get an error importing
   the database. Any idea what the issue could be? I started using version (1.3)
   and updated to (1.3.1) today with the same results. I also tried deactivating
   all of the plugins on the production site and performing the migration and also
   deactivating all of the plugins on the development site but still no luck.
 * I really like this plugin and hope I can get it to work.
 * Thanks!
 * Backup-13305379961.zip is being extracted… Success!
    DBBackup-13305379951.sql
   is being imported… Failed!
 * Migration has been completed but with 1 error.
 * [http://wordpress.org/extend/plugins/wordpress-move/](http://wordpress.org/extend/plugins/wordpress-move/)

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

 *  Thread Starter [gregweed](https://wordpress.org/support/users/gregweed/)
 * (@gregweed)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-wordpress-move-error-importing-database/#post-2601059)
 * Also, if I try to convert the database to import it in phpMyAdmin, I get the 
   following error message. Hope this helps.
 * Warning: Invalid argument supplied for foreach() in D:\Hosting\9857582\html\development\
   wp-content\plugins\wordpress-move\libs\functions-database-backup.php on line 
   40
 *  [Inmo](https://wordpress.org/support/users/rob-inmo/)
 * (@rob-inmo)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wordpress-move-error-importing-database/#post-2601350)
 * I am having this same issue. Did you ever find out the cause of the problem?
 * Thank you 🙂
 *  Thread Starter [gregweed](https://wordpress.org/support/users/gregweed/)
 * (@gregweed)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wordpress-move-error-importing-database/#post-2601351)
 * Developer never got back to me. I would have liked to make it work but I had 
   to resort to manual processes. Maybe you can add something to the post to get
   him to respond.
 *  Plugin Author [Mert Yazıcıoğlu](https://wordpress.org/support/users/merty/)
 * (@merty)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wordpress-move-error-importing-database/#post-2601352)
 * gregweed, I’m really sorry for any inconvenience I caused but unfortunately I
   did not see this topic until now.
 * lnmo and gregweed, are you using any plugin that creates and uses its own database
   tables? If so, this might be related to the other bug that some people are reporting
   lately which I will hunt down and fix as soon as possible.
 * Once again, gregweed, I’m really sorry for that.
 *  Thread Starter [gregweed](https://wordpress.org/support/users/gregweed/)
 * (@gregweed)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wordpress-move-error-importing-database/#post-2601355)
 * Mert, not a problem. I do like your plugin and I hope we can get it working.
 * To answer your question, yes, I believe I am using a plugin that has it’s own
   database tables. The plugins that I am using are…
    – Contact Form to DB Extensions–
   Fast Secure Contact Form – Quick Stats – Simple Ads Manager – W3 Total Cache –
   WordPress Donation Plugin with Goals and Paypal IPN by NonprofitCMS.org – WP-
   Mail-SMTP
 * I tried deactivating all of the plugins and then running your plugin but I still
   had the same errors. If you have any questions or would like to do some testing,
   please let me know.
 * Thanks for your replay
 *  Plugin Author [Mert Yazıcıoğlu](https://wordpress.org/support/users/merty/)
 * (@merty)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wordpress-move-error-importing-database/#post-2601356)
 * Most probably, that is the reason then. WordPress Move seems to be unable to 
   back up the tables that plugins create. I will find the cause of this bug and
   fix it as soon as possible. Some other users seem to be experiencing the same
   problem as well.
 * Thanks for your contribution in finding the bug, much appreciated!
 *  [Inmo](https://wordpress.org/support/users/rob-inmo/)
 * (@rob-inmo)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wordpress-move-error-importing-database/#post-2601357)
 * Hi Guys,
 * Thank you Mert for the plug-in, it’s enormously useful and a great idea.
 * I found a manual work around for the problem in the end although I am working
   on a client site that is littered with a long list of random plug-ins, I don’t
   think any of them are creating db tables of their own. I’m not massively experienced
   with SQL stuff in general but when I log into phpMyAdmin I can see there is only
   the standard 11 tables that WP creates on installation.
 * When I was trying to figure out a workaround I did notice that the backup .sql
   file that had been transmitted to the new installation was very slightly smaller
   than the same file on the original server where it had been generated by the 
   plugin. On seeing this I simply used ftp to manually grab that one single .sql
   file from the original installation and overwrite the received version on the
   new installation. Once I’d done that, the updated (now matching) file size was
   reflected in the ‘completing migration’ page and I could check just that file
   and complete the migration process with no further issues.
 * I hope that’s in some way useful.
 *  Plugin Author [Mert Yazıcıoğlu](https://wordpress.org/support/users/merty/)
 * (@merty)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wordpress-move-error-importing-database/#post-2601359)
 * Looks like the function that creates the database backup needs some serious attention.
 * Thanks for sharing your experience, it is indeed useful 🙂

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

The topic ‘[Plugin: WordPress Move] Error importing database’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-move_be2f30.svg)
 * [WordPress Move](https://wordpress.org/plugins/wordpress-move/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-move/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-move/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-move/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-move/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-move/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [Mert Yazıcıoğlu](https://wordpress.org/support/users/merty/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wordpress-move-error-importing-database/#post-2601359)
 * Status: not resolved