Cererea nu a putut fi executata

[INSERT INTO PC7_PRODUCT_VISIT_LOG(ID, CATEGORY_ID, PRODUCT_ID, USERID, IP_ADDRESS, BROWSER, VISITED_ON) VALUES('334530', '2135', '8241887', '0', '54.224.200.104', 'CCBot/2.0 (http://commoncrawl.org/faq/)', '2017-05-22 23:50:10')] - Cannot add or update a child row: a foreign key constraint fails (`compara_site`.`PC7_PRODUCT_VISIT_LOG`, CONSTRAINT `PC7_PRODUCT_VISIT_LOG_ibfk_1` FOREIGN KEY (`PRODUCT_ID`) REFERENCES `PC7_PRODUCT` (`ID`) ON DELETE CASCADE) -
- error in file include/include_db.php on line # 0 : executeUpdate
- error in file include/include_db.php on line # 0 : preparedUpdate
- error in file products.php on line # 326 : tableInsert Inel din argint cu piatra ovala din granat
Compara.ro