Skip to content
New issue

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

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

Already on GitHub? # to your account

Attempted to call an undefined method named "addClass" of class "Doctrine\O RM\Internal\CommitOrderCalculator #217

Closed
simon-rad opened this issue Jan 24, 2016 · 1 comment
Assignees

Comments

@simon-rad
Copy link

I have just installed a fresh instance of Symfony2.

composer require --dev doctrine/doctrine-fixtures-bundle

and when I run

php app/console doctrine:fixtures:load

I get this error

Attempted to call an undefined method named "addClass" of class "Doctrine\O RM\Internal\CommitOrderCalculator

I looked into the code and addClass is called on CommitOrderCalculator.
https://github.com/doctrine/data-fixtures/blob/master/lib/Doctrine/Common/DataFixtures/Purger/ORMPurger.php#L151

But I have checked Doctrine repository and they don't have such method.
https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/Internal/CommitOrderCalculator.php

@Ocramius
Copy link
Member

Duplicate of #212

@Ocramius Ocramius self-assigned this Jan 24, 2016
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants