Time : 08:01:52 SQLSTATE[42S22]: Column not found: 1054 Unknown column 'status' in 'where clause' Raw SQL : SELECT * from rt_bookings_pt_ft where status='Advance Paid' and booking_app_id=? Time : 08:01:19 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 'booking_app_id=?' at line 1 Raw SQL : SELECT * from rt_bookings_pt_ft where status='Advance Paid' booking_app_id=?