Time : 18:06:13 SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'user_id' cannot be null Raw SQL : INSERT INTO rt_booking_request (user_id, provider_id, gender, service_type, hours_per_day, job_types, food_type, house_size, members, user_cost, provider_salary, user_rating,provider_rating,start_date, interview_time, end_date, customer_address, customer_token_id, customer_device_os) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) Time : 15:24:08 SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'user_id' cannot be null Raw SQL : INSERT INTO rt_booking_request (user_id, provider_id, gender, service_type, hours_per_day, job_types, food_type, house_size, members, user_cost, provider_salary, user_rating,provider_rating,start_date, interview_time, end_date, customer_address, customer_token_id, customer_device_os) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) Time : 13:48:25 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 '' at line 1 Raw SQL : SELECT * FROM rt_booking_request WHERE provider_id <> 0 and user_id= Time : 13:48:22 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 '' at line 1 Raw SQL : SELECT * FROM rt_booking_request WHERE provider_id <> 0 and user_id= Time : 13:47:51 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 'and provider_id <> 0' at line 1 Raw SQL : SELECT * FROM rt_booking_request WHERE user_id= and provider_id <> 0