terminal42 / contao-node

Manage content centrally as nodes and reuse them everywhere.
MIT License
29 stars 8 forks source link

Fix for DBAL 3 (Contao 4.13) #33

Closed dennisbohn closed 2 years ago

dennisbohn commented 2 years ago

I am getting the following error, when I try to create a node in Contao 4.13.

image

Contao 4.13 switched to DBAL 3 and doesnt support the method fetchColumn and fetchAll anymore.

https://www.doctrine-project.org/2020/11/17/dbal-3.0.0.html

I changed fetchColumn to fetchOne and fetchAll to fetchAllAssociative which results in the same behaviour.

dennisbohn commented 2 years ago

Reopened pull request here.