propelorm / Propel2

Propel2 is an open-source high-performance Object-Relational Mapping (ORM) for modern PHP
http://propelorm.org/
MIT License
1.26k stars 399 forks source link

ERROR: prepared statement "pdo_stmt_00000001" does not exist, with PostgreSQL 15 #1976

Open cruzprojects opened 1 year ago

cruzprojects commented 1 year ago

I am trying to get an object stored in database. This process generates a select query. At times it runs fine, at others it throws this error: Invalid sql statement name: 7 ERROR: prepared statement "pdo_stmt_00000001" does not exist.

I am working with PostgreSQL 15, Propel 2.0.0-beta2

Any way to fix this?

michbeck commented 1 year ago

@cruzprojects Are you using PgBouncer or something like that?