DATABASE ERROR: Cannot add or update a child row
-
Hello ??
I used duplicator in the past and it always worked like a charm!
Haven’t used it for a year or so now…Can you point me in the right direction of what I did wrong?
I backed up my wordpress installation with duplicator and installed it locally… I’m using xampp… after I ran the installer.php file and the database connection was valid I got a lot of errors:DATABASE ERROR: ‘Cannot add or update a child row: a foreign key constraint fails (
xampp_folder
.wp_wc_download_log
, CONSTRAINTfk_wp_wc_download_log_permission_id
FOREIGN KEY (permission_id
) REFERENCESwp_woocommerce_downloadable_product_permissions
(`pe)’
[SQL=/* INSERT TABLE DATA: wp_wc_download_log */
INSERT INTOwp_wc_download_log
VALUES(“47”, “2019-09-06 02:33:38”, “81”, “28”, “xx.xxx.xx.xx”);…]I did get this error multiple times…
another one:
E_DEPRECATED Return type of Requests_Cookie_Jar::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
FILE: C:\xampp\htdocs\xampp_folder\wp-includes\Requests\Cookie\Jar.php[63]Can you point me in the right direction of what went wrong?
Help is very much appreciated, thanks!
Warm regards,
Markus
- The topic ‘DATABASE ERROR: Cannot add or update a child row’ is closed to new replies.