Skip to content

Conversation

promatik
Copy link
Contributor

@promatik promatik commented Apr 2, 2021

While doing a Trace I was getting:

Error
Call to undefined method Doctrine\DBAL\Connection::fetchAll()

Changing fetchAll to fetchAllAssociative fixes the issue.

This was introduced by #409.

On DBal 2.9 source code, the fetchAll method has the comment @deprecated Use fetchAllAssociative().
On DBal 3.0 it was removed https://github.com/doctrine/dbal/.../src/Connection.php.

@promatik promatik changed the title Fix for deprecated fetchAll > fetchAllAssociative [BUG] Fix for deprecated fetchAll > fetchAllAssociative Apr 2, 2021
@jasonmccreary jasonmccreary merged commit b34ea46 into laravel-shift:master Apr 3, 2021
@jasonmccreary jasonmccreary mentioned this pull request Apr 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants