[ERROR]: Argument 1 passed to Symfony\Component\DependencyInjection\ContainerBuilder::getDefinition() must be of the type string, object given
pawloaka opened this issue · comments
After installing your bundle I am getting the following error:
Argument 1 passed to Symfony\Component\DependencyInjection\ContainerBuilder::getDefinition() must be of the type string, object given
When I modify vendor/fsi/datasource-bundle/DependencyInjection/Compiler/DataSourcePass.php
(which is not correct I know :)) to:
...
foreach ($extensions as $driverExtension) {
$driverExtension = (string)$driverExtension;
...
The error is gone.
What I'm doing wrong?