Title: Errors importing themes
Last modified: September 18, 2019

---

# Errors importing themes

 *  Resolved [paulmclaren](https://wordpress.org/support/users/paulmclaren/)
 * (@paulmclaren)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/errors-importing-themes/)
 * Hello.
 * When I do transfer to a local web host (Open Server/XAMPP) everything is migrated
   successfully: db, uploads, plugins, absolutely everything except **themes**. 
   I have to unzip the themes folder manually, but I would like everything to work
   automatically. And I don’t understand why, when migrating the site, themes are“
   imported” from the **upgrade** folder, which is designed to store WordPress versions.
   Another one incomprehensible moment is file permissions. In my opinion, when 
   transferring to a local host from the web, permission problems should not appear.
 * > Unzip progress: 993 out of 993 files (28.7 MB, themes/Divi/includes/builder/
   > frontend-builder/i18n/quick-actions.php)
   >  Moving old data: filesystem method/
   > updraft_dir is potentially possible Moving old data: can potentially use wp_filesystem
   > method / -old Moving old data out of the way… Top-level entities being moved:
   > Divi, Divi-child-theme, index.php Moving unpacked backup into place… Top-level
   > entities being moved: Divi, Divi-child-theme, index.php PHP event: code E_WARNING:
   > copy(): The first argument to copy() function cannot be a directory (line 281,
   > D:\domains\test.com\wp-admin\includes\class-wp-filesystem-direct.php) Error
   > message: Could not move the files into place. Check your file permissions. 
   > Error data (move_failed): D:/domains/test.com/wp-content/**upgrade**/**77030569**/
   > themes/Divi -> D:/domains/test.com/wp-content/themes/Divi Restore failed… Error
   > message: Could not move the files into place. **Check your file permissions**.
   > Error data (move_failed): D:/domains/test.com/wp-content/**upgrade**/**77030569**/
   > themes/Divi -> D:/domains/test.com/wp-content/themes/Divi Restore failed
 * I hope to get a detailed answer. Thank You!
    -  This topic was modified 6 years, 8 months ago by [paulmclaren](https://wordpress.org/support/users/paulmclaren/).

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [bcrodua](https://wordpress.org/support/users/bcrodua/)
 * (@bcrodua)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/errors-importing-themes/#post-11948389)
 * Hi,
 * To help us work out the cause of your problem, can you please send us a copy 
   of the restoration log?
    You can find this log in the ‘wp-content/updraft’ directory
   of your site via FTP. Please copy the contents into an online tool (such as [http://pastebin.com/](http://pastebin.com/))
   and paste the link here.
 * Best Wishes,
    Bryle

Viewing 1 replies (of 1 total)

The topic ‘Errors importing themes’ is closed to new replies.

 * ![](https://ps.w.org/updraftplus/assets/icon-256x256.jpg?rev=1686200)
 * [UpdraftPlus: WP Backup & Migration Plugin](https://wordpress.org/plugins/updraftplus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/updraftplus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/updraftplus/)
 * [Active Topics](https://wordpress.org/support/plugin/updraftplus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/updraftplus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/updraftplus/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [bcrodua](https://wordpress.org/support/users/bcrodua/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/errors-importing-themes/#post-11948389)
 * Status: resolved