Time : 21:12:53 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 'config_name WHERE user_id=? and booking_status='Accepted'' at line 1 Raw SQL : UPDATE config SET booking_status = 'New Booking Generated After Acceptance' config_name WHERE user_id=? and booking_status='Accepted' Time : 21:12:23 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 'config_name WHERE user_id=? and booking_status='Accepted'' at line 1 Raw SQL : UPDATE config SET booking_status = 'New Booking Generated After Acceptance' config_name WHERE user_id=? and booking_status='Accepted' Time : 15:32:54 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 '+go WHERE booking_status IN ('Accepted','In-Progress','Verified') and user_id=60' at line 1 Raw SQL : SELECT * FROM rt_booking_on_the+go WHERE booking_status IN ('Accepted','In-Progress','Verified') and user_id=60 Time : 07:08:47 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 'WHERE b.booking_status IN ('Accepted','In Progress','Verified') ORDER by b.id DE' at line 1 Raw SQL : SELECT b.*,p.provider_name AS provider_name FROM rt_booking_on_the_go b JOIN rt_service_providers p on b.provider_id = p.id WHERE b.user_id='159' and WHERE b.booking_status IN ('Accepted','In Progress','Verified') ORDER by b.id DESC Time : 07:08:21 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 'WHERE b.booking_status IN ('Accepted','In Progress','Verified') ORDER by b.id DE' at line 1 Raw SQL : SELECT b.*,p.provider_name AS provider_name FROM rt_booking_on_the_go b JOIN rt_service_providers p on b.provider_id = p.id WHERE b.user_id='159' AND WHERE b.booking_status IN ('Accepted','In Progress','Verified') ORDER by b.id DESC