mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DBALException not supported by platform #6718
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @saninshakya on GitHub (May 13, 2021).
I am getting at
/www/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:39I have used following dependecies at
composer.jsonfile"beberlei/doctrineextensions": "^1.3",
"doctrine/annotations": "^1.0",
"doctrine/doctrine-bundle": "*",
"doctrine/doctrine-migrations-bundle": "^3.0",
"doctrine/orm": "2.8.1",
@beberlei commented on GitHub (May 13, 2021):
Please post the full stack trace of the exception, we cannot help without it
@saninshakya commented on GitHub (May 13, 2021):
@beberlei please check. I have added full trace in the question
@laferte-tech commented on GitHub (Jun 26, 2021):
Hello, same problem for me, impossible to persist an object (update is still working) in my prod environment, it's working in dev... I'm using Docker for both.
The error is:
Operation 'Doctrine\DBAL\Platforms\AbstractPlatform::getSequenceNextValSQL' is not supported by platform.Stack trace sample for an admin controller where i do a simple persist($object):
I'm using the latests versions, PHP 8 and mysql 8.0.25. I didn't change anything in my entities, my ids are like this:
i specified the server version in doctrine dbal to '8.0.25'
I'm totally stuck with this
Thanks for your help