This error occured after upgrade Magento to a new version.

The problem occurs when click in product info details page and category page.

SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`platnums_magento/report_viewed_product_index`, CONSTRAINT `FK_REPORT_VIEWED_PRODUCT_INDEX_STORE` FOREIGN KEY (`store_id`) REFERENCES `core_store` (`store_id`) ON DELETE SET NULL ON UPDATE CAS)

You need to be a Magento expert in order to solve this problem

This could be relevant:

Can you complete the project? [Magento Expert Needed To Fix Problem After Upgrade To 1.4]

View / Bid