• Resolved kenit442

    (@kenit442)


    I have encountered the below error while creating the archive file from WP. Please advise, thanks.

    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.4.1/wp-includes/class-wp-hook.php(324): SiteGround_Migrator\Background_Process\Siteground_WP_Background_Process->maybe_handle(”) #8 /wordpress/core/6.4.1/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #9 /wordpress/core/6.4.1/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #10 /wordpress/core/6.4.1/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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Simeon Boev

    (@k3llanved)

    Hello @kenit442,

    Our plugin does not work well with custom environments and includes in the wp-config.php file. Using custom paths and configuration that alters the default WordPress setup and file locations could lead to such issues. If possible test the migration one more time using a default WordPress config file. Of course, make sure to verify that all files and folders have sufficient permissions (644 for files and 755 for folders) and you have enough disk space for the backup to be created.

    Best Regards,

    Simeon Boev

    Thread Starter kenit442

    (@kenit442)

    I have checked the permission and clear custom paths and configs from WP, but it still shows the same error message at the end.

    Plugin Support Plamen M

    (@plamenm)

    Hello @kenit442,

    Please, post a support ticket with this issue through your SiteGround User Area and we will gladly check the case further for you. Here is how you can contact our support team:

    https://eu.siteground.com/kb/how_to_post_support_tickets/

    Thank you.

    Regards,
    Plamen.M
    Tech Support Team
    SiteGround.com

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Ctritical Transfer Error’ is closed to new replies.