Uncaught PDOException on 9.10 update

Hi, I’m getting this error when create, update and delete in form.
Please help

This is my adodb-pdo.inc.php files

adodb-pdo.inc.php (23.1 KB)

Already checked my innodb and there arent any transaction

Are you using the sc_commit_trans() after your SQL queries?

Yea I always use sc_commit_trans() after queries. The strange thing is when in production there is no error like that. But in development the error always show up

I think i found it. Its because i use events in my database with this command enabled.

SET GLOBAL event_scheduler = ON;

After I turned it off the error disappear. I don’t know if this is a bug or not?

1 Like

Events in the database reflects directly in the application. So it is not a bug in Scriptcase.