• It’s been a while since my last cloning process, so I can’t tell what change but now the cloning process fails.

    Running on Windows 2019, IIS 10, WP 6.1.1, PHP 8.2, last version of plugin, and get this error on PHP log:

    [15-Mar-2023 13:34:33 UTC] PHP Fatal error:  Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in D:\websites\wordpressMUcmsprod5\wp-content\plugins\ns-cloner-site-copier\ns-utils.php:211
    Stack trace:
    #0 D:\websites\wordpressMUcmsprod5\wp-content\plugins\ns-cloner-site-copier\ns-utils.php(211): in_array()
    #1 D:\websites\wordpressMUcmsprod5\wp-content\plugins\ns-cloner-site-copier\sections\class-ns-cloner-section-create-target.php(75): ns_wp_validate_site()
    #2 D:\websites\wordpressMUcmsprod5\wp-content\plugins\ns-cloner-site-copier\class-ns-cloner-process-manager.php(191): NS_Cloner_Section_Create_Target->validate()
    #3 D:\websites\wordpressMUcmsprod5\wp-content\plugins\ns-cloner-site-copier\class-ns-cloner-process-manager.php(142): NS_Cloner_Process_Manager->validate()
    #4 D:\websites\wordpressMUcmsprod5\wp-content\plugins\ns-cloner-site-copier\class-ns-cloner-ajax.php(69): NS_Cloner_Process_Manager->init()
    #5 D:\websites\wordpressMUcmsprod5\wp-includes\class-wp-hook.php(308): NS_Cloner_Ajax->process_init()
    #6 D:\websites\wordpressMUcmsprod5\wp-includes\class-wp-hook.php(332): WP_Hook->apply_filters()
    #7 D:\websites\wordpressMUcmsprod5\wp-includes\plugin.php(517): WP_Hook->do_action()
    #8 D:\websites\wordpressMUcmsprod5\wp-admin\admin-ajax.php(188): do_action()
    #9 {main}
      thrown in D:\websites\wordpressMUcmsprod5\wp-content\plugins\ns-cloner-site-copier\ns-utils.php on line 211

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Never Settle

    (@neversettle)

    Hi Eric,

    There may be some issues still with PHP 8 that our team is working on for the next release, so if you could try downgrading PHP to see if that resolves the issue we can verify… thx!

    Thread Starter Eric Malalel

    (@teachlynx)

    Thanks for feedback. PHP 8 is required by some of my customers for security reasons, so I can’t downgrade.

    Anyway, keep me posted when the solution will be compatible with PHP 8.2.

    up

    Plugin Author Never Settle

    (@neversettle)

    Hey @teachlynx ,

    Please check if you have “Banned Names” under Network Admin > Network Settings filled.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘cloning process fails’ is closed to new replies.