Unhandled Exception. SQLSTATE[42000]: Syntax error or access violation: 1064 syntax error, unexpected ')', expecting $end You can find the error back in the log.