Closed alexislefebvre closed 3 years ago
The last version of doctrine/mongodb-odm-bundle
allows PHP8. But a new error appeared:
1 Fidry\AliceDataFixtures\Bridge\Doctrine\Persister\ObjectManagerPersisterTest::testCanPersistEntitiesWithoutExplicitIdentifierSetEvenWhenExistingEntitiesHaveOne Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'INSERT INTO Dummy (id) VALUES (null)' with params [null]:
SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens
See the full log: https://github.com/theofidry/AliceDataFixtures/pull/168/checks?check_run_id=1809551433
I don't understand what is causing this. PHP8? Doctrine? Their combination?
Thanks for the merge. :rocket:
This reverts commit 6dc3c966097bff8e0ed92d5f4abba81cee6f782d.
Remove temporary code from #158
It will require https://github.com/doctrine/DoctrineMongoDBBundle/pull/662 or https://github.com/doctrine/DoctrineMongoDBBundle/pull/665