• Resolved babettelandmesser

    (@babettelandmesser)


    Hey,

    I am getting the following PHP error on a local WordPress 5.4 multisite installation when cloning with selected tables and post types:

    PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function wsmInitPlugin::wsmCreateDatabaseSchemaForNewSite(), 1 passed in /wp-includes/class-wp-hook.php on line 289 and exactly 6 expected in /wp-content/plugins/wp-stats-manager/includes/wsm_init.php:1575
    Stack trace:
    #0 /wp-includes/class-wp-hook.php(289): wsmInitPlugin::wsmCreateDatabaseSchemaForNewSite(8)
    #1 /wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array)
    #2 /wp-includes/plugin.php(544): WP_Hook->do_action(Array)
    #3 /wp-includes/plugin.php(660): do_action_ref_array('wpmu_new_blog', Array)
    #4 in /wp-content/plugins/wp-stats-manager/includes/wsm_init.php on line 1575, referer: https://host.local/wp-admin/network/admin.php?page=ns-cloner

    Also, requesting /wp-admin/admin-ajax.php?flag=ns_cloner_process_init returns 500 but I am just receiving these two bits of information.

    Weirdly, this happens since I installed NS Cloner Pro. Before, with the free version, the cloning went well but I need the Pro version for better controlling which contents are cloned.

    Regards,
    Babette

Viewing 1 replies (of 1 total)
  • Thread Starter babettelandmesser

    (@babettelandmesser)

    Seems like this is not an NS Cloner issue but rather some of my other plugins that didn’t do an upgrade of wpmu_new_blog.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Fatal Error on site cloning’ is closed to new replies.