Error Deleting Attribute with 5.8.1Browser Info Environment
An exception occurred while executing 'DELETE FROM AttributeKeys WHERE akID = ?' with params : SQLSTATE: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`test_c5`.`atEmptySettings`, CONSTRAINT `FK_ED1BF189B6561A7E` FOREIGN KEY (`akID`) REFERENCES `AttributeKeys` (`akID`))
If I execute this SQL:
DELETE FROM `test_c5`.`atEmptySettings` WHERE `atEmptySettings`.`akID` = 114
prior to deleting the attribute, it is remove successfully. It looks like the delete is not being done by your code at all - but by different code entirely.