propelorm / Propel2

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

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

Open cruzprojects opened 10 months ago

cruzprojects commented 10 months 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 10 months ago

@cruzprojects Are you using PgBouncer or something like that?