Array ( [code] => 1452 [message] => Cannot add or update a child row: a foreign key constraint fails (`www_p-p_comua`.`advr_click`, CONSTRAINT `fk_advr_click_advr1` FOREIGN KEY (`advr_id`) REFERENCES `advr` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION) [query] => INSERT INTO advr_click(`advr_id`, `uuid`, `timestamp`) VALUES(150, '54.156.39.245', 1539762386) [context] => /home/www/p-p.com.ua/application/core/Advr.php line 104 )