Unhandled Exception. SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'user_id' at row 1 You can find the error back in the log.