NS Cloner not cloning site correctly
-
[06-Oct-2022 18:12:50 UTC] WordPress database error Cannot delete or update a parent row: a foreign key constraint fails for query DROP TABLE IF EXISTS
wpdb_81_tec_events` made by do_action(‘wp_ajax_ns_cloner_tables_process’), WP_Hook->do_action, WP_Hook->apply_filters, WP_Background_Process->maybe_handle, NS_Cloner_Process->handle, WP_Background_Process->handle, NS_Cloner_Tables_Process->task
[06-Oct-2022 18:12:50 UTC] WordPress database error Table ‘wpdb_81_tec_events’ already exists for query CREATE TABLEwpdb_81_tec_events
(
event_id
bigint(20) unsigned NOT NULL AUTO_INCREMENT,
post_id
bigint(20) unsigned NOT NULL,
start_date
datetime NOT NULL,
end_date
datetime DEFAULT NULL,
timezone
varchar(30) COLLATE utf8mb4_unicode_520_ci NOT NULL DEFAULT ‘UTC’,
start_date_utc
datetime NOT NULL,
end_date_utc
datetime DEFAULT NULL,
duration
mediumint(30) DEFAULT ‘7200’,
updated_at
timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
hash
varchar(40) COLLATE utf8mb4_unicode_520_ci NOT NULL,
PRIMARY KEY (event_id
),
UNIQUE KEYpost_id
(post_id
)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci made by do_action(‘wp_ajax_ns_cloner_tables_process’), WP_Hook->do_action, WP_Hook->apply_filters, WP_Background_Process->maybe_handle, NS_Cloner_Process->handle, WP_Background_Process->handle, NS_Cloner_Tables_Process->task`this is the debug.log errors we get when trying to clone a site. it causes the view and dashboard sub actions then get set to go to the main site.
- The topic ‘NS Cloner not cloning site correctly’ is closed to new replies.