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

Loading fixtures fails with DBAL 3 #365

Closed
williarin opened this issue Sep 18, 2021 · 0 comments · Fixed by #366
Closed

Loading fixtures fails with DBAL 3 #365

williarin opened this issue Sep 18, 2021 · 0 comments · Fixed by #366

Comments

@williarin
Copy link
Contributor

Using DBAL 3, the command doctrine:fixtures:load fails with this error:

In ORMPurger.php line 133:

  [Symfony\Component\ErrorHandler\Error\UndefinedMethodError]
  Attempted to call an undefined method named "getFilterSchemaAssetsExpression" of class "Doctrine\DBAL\Configuration".

$filterExpr = $connection->getConfiguration()->getFilterSchemaAssetsExpression();

Configuration::getFilterSchemaAssetsExpression() has been removed in DBAL 3.

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 a pull request may close this issue.

1 participant