I looked at the query and found something unusual. The query has 6 bindings yet there are 7 keys in the binding array. I think this is screwing it up as binding key '4' is incorrect but im not sure why this is happening.
query log output:
array:1 [
0 => array:3 [
"query" => "select * from `fm_vip_demographics` where `vip_type_id` = ? and `fm_vip_demographics`.`record_status` = ? and (select count(*) from `fm_vip_demographics` as `self_3005b65b2c6b3cccca2d6b3b119f3570` where `self_3005b65b2c6b3cccca2d6b3b119f3570`.`group_id` = `fm_vip_demographics`.`vip_id` and `vip_type_id` = ? and `fm_vip_demographics`.`record_status` = ? and `relationship_id` in (?, ?)) >= 1"
"bindings" => array:7 [
0 => 3
1 => 1
2 => 1
3 => 2
4 => 1
5 => 3
6 => 14
]
"time" => 0.28
]
]
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community