Fixed Bug: "SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens" This error occured because there are a more parameters in array than in the SQL.