NS Cloner AJAX Error
-
Hi all,
I am having some trouble with NS Cloner after over a year of everything working ok. When I try to clone a site, I get an Error 403 when flag=ns_cloner_process_init. On the validate section stage however, things work just fine so I don’t think its an actual access error. For good measure however, I disabled LiteSpeed cache to ensure that wasn’t the problem. Even with the cache disabled, still had the Ajax 403 error on process init. See here (https://www.dropbox.com/sh/x1070n618y8yyit/AACIkO4HMPh-7t8r-9KSXAY-a?dl=0).Furthermore, when process init is triggered, the site begins cloning but does not copy the database tables or media files. All I get is a blank site with no content. I tried the steps here (https://neversettle.it/documentation/ns-cloner/call-ns-cloner-copy-sites-plugins/) to trigger the copy from the CLI and although the database tables copied using this method, the media files did not. I manually copied the media files and everything seemed to work ok.
I did notice there were some tables that the clone process kicked out as errors in the PHP error log file….
[29-Mar-2021 18:44:38 UTC] WordPress database error Table 'wpdb.6bl7b7e_87_wc_admin_notes' doesn't exist for query SELECT note_id FROM 6bl7b7e_87_wc_admin_notes WHERE name = 'wc-admin-getting-started-in-ecommerce' ORDER BY note_id ASC made by do_action('wp_ajax_ns_cloner_process_init'), WP_Hook->do_action, WP_Hook->apply_filters, NS_Cloner_Ajax->process_init, NS_Cloner_Process_Manager->init, do_action('ns_cloner_process_core'), WP_Hook->do_action, WP_Hook->apply_filters, NS_Cloner->{closure}, NS_Cloner_Process_Manager->create_site, wp_insert_site, do_action_deprecated, do_action_ref_array('wpmu_new_blog'), WP_Hook->do_action, WP_Hook->apply_filters, PluginManager->new_blog, activate_plugins, activate_plugin, do_action('activated_plugin'), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\WooCommerce\Admin\RemoteInboxNotifications\RemoteInboxNotificationsEngine::run, Automattic\WooCommerce\Admin\RemoteInboxNotifications\RemoteInboxNotificationsEngine::run, Automattic\WooCommerce\Admin\RemoteInboxNotifications\SpecRunner::run_spec, WC_Data_Store->__call, Automattic\WooCommerce\Admin\Notes\DataStore->get_notes_with_name [29-Mar-2021 18:44:38 UTC] WordPress database error Table 'wpdb.6bl7b7e_87_wc_admin_notes' doesn't exist for query SHOW FULL COLUMNS FROM <code>6bl7b7e_87_wc_admin_notes</code> made by do_action('wp_ajax_ns_cloner_process_init'), WP_Hook->do_action, WP_Hook->apply_filters, NS_Cloner_Ajax->process_init, NS_Cloner_Process_Manager->init, do_action('ns_cloner_process_core'), WP_Hook->do_action, WP_Hook->apply_filters, NS_Cloner->{closure}, NS_Cloner_Process_Manager->create_site, wp_insert_site, do_action_deprecated, do_action_ref_array('wpmu_new_blog'), WP_Hook->do_action, WP_Hook->apply_filters, PluginManager->new_blog, activate_plugins, activate_plugin, do_action('activated_plugin'), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\WooCommerce\Admin\RemoteInboxNotifications\RemoteInboxNotificationsEngine::run, Automattic\WooCommerce\Admin\RemoteInboxNotifications\RemoteInboxNotificationsEngine::run, Automattic\WooCommerce\Admin\RemoteInboxNotifications\SpecRunner::run_spec, WC_Data->save, WC_Data_Store->create, Automattic\WooCommerce\Admin\Notes\DataStore->create [29-Mar-2021 18:44:38 UTC] WordPress database error Table 'wpdb.6bl7b7e_87_wc_admin_note_actions' doesn't exist for query DELETE FROM 6bl7b7e_87_wc_admin_note_actions WHERE note_id = 0 made by do_action('wp_ajax_ns_cloner_process_init'), WP_Hook->do_action, WP_Hook->apply_filters, NS_Cloner_Ajax->process_init, NS_Cloner_Process_Manager->init, do_action('ns_cloner_process_core'), WP_Hook->do_action, WP_Hook->apply_filters, NS_Cloner->{closure}, NS_Cloner_Process_Manager->create_site, wp_insert_site, do_action_deprecated, do_action_ref_array('wpmu_new_blog'), WP_Hook->do_action, WP_Hook->apply_filters, PluginManager->new_blog, activate_plugins, activate_plugin, do_action('activated_plugin'), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\WooCommerce\Admin\RemoteInboxNotifications\RemoteInboxNotificationsEngine::run, Automattic\WooCommerce\Admin\RemoteInboxNotifications\RemoteInboxNotificationsEngine::run, Automattic\WooCommerce\Admin\RemoteInboxNotifications\SpecRunner::run_spec, WC_Data->save, WC_Data_Store->create, Automattic\WooCommerce\Admin\Notes\DataStore->create, Automattic\WooCommerce\Admin\Notes\DataStore->save_actions [29-Mar-2021 18:44:38 UTC] WordPress database error Table 'wpdb.6bl7b7e_87_wc_admin_note_actions' doesn't exist for query SHOW FULL COLUMNS FROM <code>6bl7b7e_87_wc_admin_note_actions</code> made by do_action('wp_ajax_ns_cloner_process_init'), WP_Hook->do_action, WP_Hook->apply_filters, NS_Cloner_Ajax->process_init, NS_Cloner_Process_Manager->init, do_action('ns_cloner_process_core'), WP_Hook->do_action, WP_Hook->apply_filters, NS_Cloner->{closure}, NS_Cloner_Process_Manager->create_site, wp_insert_site, do_action_deprecated, do_action_ref_array('wpmu_new_blog'), WP_Hook->do_action, WP_Hook->apply_filters, PluginManager->new_blog, activate_plugins, activate_plugin, do_action('activated_plugin'), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\WooCommerce\Admin\RemoteInboxNotifications\RemoteInboxNotificationsEngine::run, Automattic\WooCommerce\Admin\RemoteInboxNotifications\RemoteInboxNotificationsEngine::run, Automattic\WooCommerce\Admin\RemoteInboxNotifications\SpecRunner::run_spec, WC_Data->save, WC_Data_Store->create, Automattic\WooCommerce\Admin\Notes\DataStore->create, Automattic\WooCommerce\Admin\Notes\DataStore->save_actions [29-Mar-2021 18:44:38 UTC] WordPress database error Table 'wpdb.6bl7b7e_87_wc_admin_note_actions' doesn't exist for query SELECT action_id, name, label, query, status, is_primary, actioned_text FROM 6bl7b7e_87_wc_admin_note_actions WHERE note_id = 0 made by do_action('wp_ajax_ns_cloner_process_init'), WP_Hook->do_action, WP_Hook->apply_filters, NS_Cloner_Ajax->process_init, NS_Cloner_Process_Manager->init, do_action('ns_cloner_process_core'), WP_Hook->do_action, WP_Hook->apply_filters, NS_Cloner->{closure}, NS_Cloner_Process_Manager->create_site, wp_insert_site, do_action_deprecated, do_action_ref_array('wpmu_new_blog'), WP_Hook->do_action, WP_Hook->apply_filters, PluginManager->new_blog, activate_plugins, activate_plugin, do_action('activated_plugin'), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\WooCommerce\Admin\RemoteInboxNotifications\RemoteInboxNotificationsEngine::run, Automattic\WooCommerce\Admin\RemoteInboxNotifications\RemoteInboxNotificationsEngine::run, Automattic\WooCommerce\Admin\RemoteInboxNotifications\SpecRunner::run_spec, WC_Data->save, WC_Data_Store->create, Automattic\WooCommerce\Admin\Notes\DataStore->create, Automattic\WooCommerce\Admin\Notes\DataStore->save_actions, Automattic\WooCommerce\Admin\Notes\DataStore->read_actionsWe are running the latest versions of both WordPress (5.7) and NS Cloner. Had the same problem on WordPress 5.6 though.
The topic ‘NS Cloner AJAX Error’ is closed to new replies.