Magento Foreign Key Constraints
Nobody can order Magento website. I have this message :
Next exception 'Zend_Db_Statement_Exception' with message 'SQLSTATE: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`bdd_www14`.`salesrule_product_attribute`, CONSTRAINT `FK_SALESRULE_PRODUCT_ATTRIBUTE_CUSTOMER_GROUP` FOREIGN KEY (`customer_group_id`) REFERENCES `customer_group` (`customer_group_id`) O)' in [...]/htdocs/lib/Zend/Db/Statement/Pdo.php:234
How can I get rid of this error?
If someone have this, the problem is due to a delete of a group of user. I have restore the group in the database and all is ok.