エラー: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'af_no' cannot be null
INSERT INTO view SET `ip_addr` = :ip_addr,`hostname` = :hostname,`regist_date` = :regist_date,`url` = :url,`mer_id` = :mer_id,`promotion_id` = :promotion_id,`af_no` = :af_no,`user_no` = :user_no,`ad_no` = :ad_no,`ad_type` = :ad_type
array(10) { ["ip_addr"]=> string(12) "3.133.125.76" ["hostname"]=> string(48) "ec2-3-133-125-76.us-east-2.compute.amazonaws.com" ["regist_date"]=> string(19) "2024-05-21 05:25:38" ["url"]=> string(0) "" ["mer_id"]=> int(1) ["promotion_id"]=> int(1) ["af_no"]=> NULL ["user_no"]=> int(133381) ["ad_no"]=> int(20) ["ad_type"]=> string(5) "image" }