Notice (8): Undefined index: Access [APP/Controller/FeedsController.php, line 70]
CakePHP: the rapid development php framework: Errors/

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'blog_id' cannot be null

Error: An Internal Error Has Occurred.

Stack Trace

(default) 3 queries took 11 ms
NrQueryErrorAffectedNum. rowsTook (ms)
1SELECT `Blog`.`id`, `Blog`.`type`, `Blog`.`title`, `Blog`.`url`, `Blog`.`rss`, `Blog`.`created`, `Blog`.`modified`, `Blog`.`category`, `Blog`.`del_flag`, `Blog`.`priority`, `Blog`.`max_article_id`, `Blog`.`replace_word` FROM `antenna`.`blogs` AS `Blog` WHERE `Blog`.`del_flag` = 0 AND `Blog`.`category` = 1 LIMIT 10001021025
2SELECT `Feed`.`id`, `Feed`.`blog_id`, `Feed`.`date`, `Feed`.`created`, `Feed`.`updated`, `Feed`.`category` FROM `antenna`.`feeds` AS `Feed` WHERE `category` = 1 AND `date` = '2019-07-19 21:00:00' LIMIT 1006
3SELECT `Access`.`blog_id`, (in_count - out_count) as diff FROM `antenna`.`accesses` AS `Access` WHERE `blog_id` IN (1, 2, 4, 6, 21, 24, 41, 47, 50, 56, 57, 63, 64, 65, 79, 83, 89, 96, 99, 105, 110, 119, 124, 131, 132, 137, 140, 141, 144, 155, 161, 171, 172, 173, 177, 181, 185, 189, 191, 199, 200, 206, 223, 229, 230, 231, 232, 234, 242, 245, 246, 251, 277, 289, 290, 299, 301, 310, 315, 332, 344, 350, 360, 361, 365, 369, 383, 391, 397, 416, 429, 432, 433, 465, 476, 487, 500, 503, 504, 532, 539, 546, 548, 549, 550, 551, 552, 553, 554, 564, 570, 578, 580, 581, 583, 584, 586, 587, 594, 598, 602, 604) AND `date` = '2019-07-19 00:00:00' AND NOT (`blog_id` IN (473, 590, 563)) ORDER BY `diff` desc LIMIT 1000