Warning (512): SQL Error: 1452: Cannot add or update a child row: a foreign key constraint fails (`machine_fr`.`log_mails`, CONSTRAINT `log_mails_ibfk_1` FOREIGN KEY (`frontal_id`) REFERENCES `frontals` (`id`) ON UPDATE CASCADE) [CORE/cake/libs/model/datasources/dbo_source.php, line 684]

Query: INSERT INTO `log_mails` (`date_log`, `relance_id`, `frontal_id`, `lead_id`, `type_action`) VALUES ('2014-07-31 01:14:56', 164002, 1113, 4802732, 'webcopy')

0
Notice (8): Undefined offset: 0 [APP/controllers/log_mails_controller.php, line 751]
Notice (8): Undefined offset: 0 [APP/controllers/log_mails_controller.php, line 762]
Notice (8): Undefined offset: 0 [APP/controllers/log_mails_controller.php, line 767]
Notice (8): Undefined offset: 0 [APP/controllers/log_mails_controller.php, line 770]
Zoradamus