Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace fetchColumn() with fetchOne() #38

Open
mhuber84 opened this issue May 10, 2024 · 0 comments · May be fixed by #39
Open

Replace fetchColumn() with fetchOne() #38

mhuber84 opened this issue May 10, 2024 · 0 comments · May be fixed by #39

Comments

@mhuber84
Copy link

Doctrine\DBAL\Result::fetchColumn() is removed in dbal v3 introduced in TYPO3 v12. It should be replaced with fetchOne().

fetch() should be replaced by fetchAssociative(), too.
https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/12.0/Breaking-96287-DoctrineDBALv3.html#breaking-96287-doctrine-dbal-v3

mhuber84 added a commit to mhuber84/dropbox that referenced this issue May 10, 2024
fetchColumn() and fetch() are removed in dbal v3 introduced by TYPO3 v12
Resolve  froemken#38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant