jackalope / jackalope-doctrine-dbal

Doctrine DBAL transport implementation for Jackalope
http://jackalope.github.io
Other
143 stars 60 forks source link

DBAL3 incompatible #387

Closed htuscher closed 3 years ago

htuscher commented 3 years ago
[2021-10-04T13:30:51.967902+00:00] php.CRITICAL: Uncaught Error: Call to undefined method Doctrine\DBAL\Connection::fetchColumn() {"exception":"[object] (Error(code: 0): Call to undefined method Doctrine\\DBAL\\Connection::fetchColumn() at /app/vendor/jackalope/jackalope-doctrine-dbal/src/Jackalope/Transport/DoctrineDBAL/Client.php:1713)"} []
[2021-10-04T13:30:51.969717+00:00] request.CRITICAL: Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\UndefinedMethodError: "Attempted to call an undefined method named "fetchColumn" of class "Doctrine\DBAL\Connection"." at /app/vendor/jackalope/jackalope-doctrine-dbal/src/Jackalope/Transport/DoctrineDBAL/Client.php line 1713 {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\UndefinedMethodError(code: 0): Attempted to call an undefined method named \"fetchColumn\" of class \"Doctrine\\DBAL\\Connection\". at /app/vendor/jackalope/jackalope-doctrine-dbal/src/Jackalope/Transport/DoctrineDBAL/Client.php:1713)"} []
alexander-schranz commented 3 years ago

388 should fix this would be nice if you could test it out to check for other errors.

SebTM commented 3 years ago

I've tested your fix as it currently breaks my sulu-cms project with PHP8 in prod-environment and it works fine. Would appreciate a bugfix release, would have provided PR otherwise :)

dbu commented 3 years ago

i was away over the weekend. i just tagged 1.7.1 with the fix now, thanks @alexander-schranz