SQL Error


Code error: 42000.

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '), `created_at` desc limit 1' at line 1 (SQL: select * from `casting_info` where `reviewed_status` = approved and `id` < 785 and `casting_info`.`deleted_at` is null and `moderatable_id` is null and `tmp_token` is null and `reviewed_status` in (approved, remoderate) and `payment_status` != waiting order by `closed` asc, FIELD(id, ), `created_at` desc limit 1)