SiteGround Migrator
Critical Transfer Error
Uncaught ValueError: RecursiveDirectoryIterator::__construct(): Argument #1 ($directory) cannot be empty in /srv/htdocs/wp-content/plugins/siteground-migrator/core/Files_Service/Files_Service.php:236 Stack trace: #0 /srv/htdocs/wp-content/plugins/siteground-migrator/core/Files_Service/Files_Service.php(236): RecursiveDirectoryIterator->__construct(”) #1 /srv/htdocs/wp-content/plugins/siteground-migrator/core/Files_Service/Files_Service.php(212): SiteGround_Migrator\Files_Service\Files_Service->archive_dir(‘/wordpress/core…’, ‘/srv/htdocs/wp-…’) #2 /srv/htdocs/wp-content/plugins/siteground-migrator/core/Files_Service/Files_Service.php(138): SiteGround_Migrator\Files_Service\Files_Service->create_encrypted_archive(‘/plugins/akisme…’) #3 [internal function]: SiteGround_Migrator\Files_Service\Files_Service->prepare_archives_for_download() #4 /srv/htdocs/wp-content/plugins/siteground-migrator/core/Background_Process/Background_Process.php(51): call_user_func(Array) #5 /srv/htdocs/wp-content/plugins/siteground-migrator/core/Background_Process/Siteground_WP_Background_Process.php(322): SiteGround_Migrator\Background_Process\Background_Process->task(Array) #6 /srv/htdocs/wp-content/plugins/siteground-migrator/core/Background_Process/Siteground_WP_Background_Process.php(186): SiteGround_Migrator\Background_Process\Siteground_WP_Background_Process->handle() #7 /wordpress/core/6.2/wp-includes/class-wp-hook.php(308): SiteGround_Migrator\Background_Process\Siteground_WP_Background_Process->maybe_handle(”) #8 /wordpress/core/6.2/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #9 /wordpress/core/6.2/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #10 /wordpress/core/6.2/wp-admin/admin-ajax.php(188): do_action(‘wp_ajax_wp_back…’) #11 {main} thrown in /srv/htdocs/wp-content/plugins/siteground-migrator/core/Files_Service/Files_Service.php on line 236
Failed to complete WordPress installation on the destination server. Destination responded with ‘ERROR: Failed to download WordPress core’. Please retry with another transfer token.
Hello @tcm8808,
The provided error may be temporary and I would recommend restarting the transfer. You should also make sure that you are using the latest version of the plugin.
In case you encounter the same error again, we would need a bit more information to troubleshoot the problem and it would be best to contact us from your SiteGround client area.
Best Regards,
Daniela Ivanova
