You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Argument 1 passed to Hydration\AbstractHydrator::toIterable() must implement interface Doctrine\DBAL\Driver\Statement, instance of Doctrine\DBAL\ForwardCompatibility\Result given, called in ORM/AbstractQuery.php on line 1010
#4567
Closed
BusterNeece opened this issue
Mar 31, 2021
· 3 comments
Since updating to DBAL 2.13.0, this elicits the following error message:
TypeError Argument 1 passed to Doctrine\ORM\Internal\Hydration\AbstractHydrator::toIterable() must implement interface
Doctrine\DBAL\Driver\Statement, instance of Doctrine\DBAL\ForwardCompatibility\Result given, called in
vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php on line 1010
There is no reason to think that this call is deprecated (it does not elicit any sort of warning), and it certainly worked in previous iterations, so I suspect this may be a regression to do with the forwards-compatibility code introduced in 2.13.0.
The text was updated successfully, but these errors were encountered:
Bug Report
Summary
Example code that triggers this error with Doctrine DBAL 2.13.0 and ORM 2.8.2:
Since updating to DBAL 2.13.0, this elicits the following error message:
There is no reason to think that this call is deprecated (it does not elicit any sort of warning), and it certainly worked in previous iterations, so I suspect this may be a regression to do with the forwards-compatibility code introduced in 2.13.0.
The text was updated successfully, but these errors were encountered: