error while trying to create product attributes fr

2019-09-10 06:57发布

问题:

I am getting error while trying to create any product attribute.

This is the error i am getting. I have nothing else to share.

SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (kingshop.eav_attribute_label, CONSTRAINT FK_EAV_ATTRIBUTE_LABEL_ATTRIBUTE_ID_EAV_ATTRIBUTE_ATTRIBUTE_ID FOREIGN KEY (attribute_id) REFERENCES eav_attributex (attribute_id) ON DEL)

N.B -> I have checked the Engines. All EAV tables are using INNODB engines.

&& This error is showing while trying to create attribute from magento backend. No frontend installer.