Error lastval not supported for session created by connection manager in #174
Unanswered
pujagarg17
asked this question in
Help wanted
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Application
Shlink
Application version
4.4.0
How do you serve the application
Other (explain in summary)
Database engine (if any)
NoneEdit by maintainer: Postgres
Database version
No response
Summary
[2025-08-07T07:16:55.322162+00:00] [b1bbb91e-ac13-424f-a009-c55d5d520e87] Shlink.ERROR - PDOException: SQLSTATE[55000]: Object not in prerequisite state: 7 ERROR: lastval not supported for session created by connection manager in /Users/pujgarg/Projects/bitbucket/web-shlink/vendor/doctrine/dbal/src/Driver/PDO/Connection.php:74
Stack trace:
#0 /Users/pujgarg/Projects/bitbucket/web-shlink/vendor/doctrine/dbal/src/Driver/PDO/Connection.php(74): PDO->lastInsertId()
#1 /Users/pujgarg/Projects/bitbucket/web-shlink/vendor/doctrine/dbal/src/Connection.php(912): Doctrine\DBAL\Driver\PDO\Connection->lastInsertId()
#2 /Users/pujgarg/Projects/bitbucket/web-shlink/vendor/doctrine/orm/src/Id/BigIntegerIdentityGenerator.php(18): Doctrine\DBAL\Connection->lastInsertId()
#3 /Users/pujgarg/Projects/bitbucket/web-shlink/vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php(254): Doctrine\ORM\Id\BigIntegerIdentityGenerator->generateId(Object(Doctrine\ORM\EntityManager), Object(Shlinkio\Shlink\Core\ShortUrl\Entity\ShortUrl))
Beta Was this translation helpful? Give feedback.
All reactions