I am facing a big problem in magento.
i am able to update the cart items when i am not login with the customer. but when i login with the customer then it says Cannot update the cart.
I enabled logs it says:-
exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint
violation: 1452 Cannot add or update a child row: a foreign key constraint
fails
(`databasename`.`wishlist`, CONSTRAINT
`FK_WISHLIST_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID`
FOREIGN KEY (`customer_id`)
REFERENCES `customer_entity_old` (`entity_id`) ON DELETE CASCADE ON UPDATE CA)
Please Help