SQL: [34] select from `ap_form_` where id=? Sent SQL: [37] select from `ap_form_` where id=NULL Params: 1 Key: Position #0: paramno=0 name=[0] "" is_param=1 param_type=2 Query Failed: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'from `ap_form_` where id=NULL' at line 1