SQLSTATE[HY000]: General error: 21 bad parameter or other API misuse
Created 4 months ago by dilusha100

I'm developing a web site on pyrocms and it worked fine in my laptop (WAMP environment). But it gives me error SQLSTATE[HY000]: General error: 21 bad parameter or other API misuse when I try this in my ubuntu server ( Submiting form or any kind of data insertion to database).

Server's PHP version - 7.2.13 I asked it on SO with screenshots. -> https://stackoverflow.com/questions/54304192/sqlstatehy000-general-error-21-bad-parameter-or-other-api-misuse-in-pyrocm

How can I fix this error?

william  —  4 months ago

Update streams to 1.6 and see if that helps. It should