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

PHP Fatal error: Call to undefined method Doctrine\ORM\Internal\CommitOrderCalculator::addClass() in .../Doctrine/Common/DataFixtures/Purger/ORMPurger.php on line 151 #213

Closed
madebydavid opened this issue Dec 2, 2015 · 3 comments

Comments

@madebydavid
Copy link

I'm using silex with useallfive/doctrine-data-fixtures-command. Versions are dev-master of this repo and dev-master of doctrine2

The following error is raised when attempting to load fixtures:

PHP Fatal error:  Call to undefined method Doctrine\ORM\Internal\CommitOrderCalculator::addClass() in /var/www/html/vendor/doctrine/data-fixtures/lib/Doctrine/Common/DataFixtures/Purger/ORMPurger.php on line 151

The addClass method seems to have been removed in this commit

@madebydavid madebydavid changed the title PHP Fatal error: Call to undefined method Doctrine\ORM\Internal\CommitOrderCalculator::addClass() in /var/www/html/vendor/doctrine/data-fixtures/lib/Doctrine/Common/DataFixtures/Purger/ORMPurger.php on line 151 PHP Fatal error: Call to undefined method Doctrine\ORM\Internal\CommitOrderCalculator::addClass() in .../Doctrine/Common/DataFixtures/Purger/ORMPurger.php on line 151 Dec 2, 2015
@dkorsak
Copy link

dkorsak commented Dec 3, 2015

+1

1 similar comment
@adampiotrowski
Copy link

+1

@Ocramius
Copy link
Member

Ocramius commented Dec 5, 2015

Duplicate of #212

@Ocramius Ocramius closed this as completed Dec 5, 2015
jguittard added a commit to jguittard/data-fixtures that referenced this issue Jan 14, 2016
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants