Maltebeske
Aktives Mitglied
Im Wordpress-Backend wird dieser Database error mit dem Error Code 1452 ausgeggeben:
Query:
ALTER TABLE `wp_jtl_connector_link_order`
ADD CONSTRAINT `jtl_connector_link_order_1` FOREIGN KEY (`endpoint_id`) REFERENCES `wp_posts` (`ID`)
ON DELETE CASCADE
ON UPDATE NO ACTION
Caller:
Component:
Plugin: woo- jtl-connector
Error Message:
Wie kann man diesen Fehler beheben? Was verursacht diesen Fehler?
Vielen Dank!
Query:
ALTER TABLE `wp_jtl_connector_link_order`
ADD CONSTRAINT `jtl_connector_link_order_1` FOREIGN KEY (`endpoint_id`) REFERENCES `wp_posts` (`ID`)
ON DELETE CASCADE
ON UPDATE NO ACTION
Caller:
- JtlConnectorAdmin::add_constraints_for_multi_linking_tables()
app/plugins/woo-jtl-connector/includes/JtlConnectorAdmin.php:421 - JtlConnectorAdmin::activate_linking()
app/plugins/woo-jtl-connector/includes/JtlConnectorAdmin.php:178 - JtlConnectorAdmin::update()
app/plugins/woo-jtl-connector/includes/JtlConnectorAdmin.php:2013 - JtlConnectorAdmin::init_hooks()
app/plugins/woo-jtl-connector/includes/JtlConnectorAdmin.php:832 - JtlConnectorAdmin::init()
app/plugins/woo-jtl-connector/includes/JtlConnectorAdmin.php:540 - do_action('init')
wp-includes/plugin.php:517
Component:
Plugin: woo- jtl-connector
Error Message:
Cannot add or update a child row: a foreign key constraint fails (`beskemanufaktur`.`#sql-3f0_131da3`, CONSTRAINT `jtl_connector_link_order_1` FOREIGN KEY (`endpoint_id`) REFERENCES `wp_posts` (`ID`) ON DELETE CASCADE) |
Wie kann man diesen Fehler beheben? Was verursacht diesen Fehler?
Vielen Dank!