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

CMF Sandbox v 2.1: Load doctrine fixtures cause Exception #405

Open
kiennd146 opened this issue Mar 3, 2018 · 1 comment
Open

CMF Sandbox v 2.1: Load doctrine fixtures cause Exception #405

kiennd146 opened this issue Mar 3, 2018 · 1 comment

Comments

@kiennd146
Copy link

php bin/console -v doctrine:phpcr:fixtures:load
=> Exception
In DoctrinePHPCRODMListener.php line 71:

[Symfony\Component\Debug\Exception\UndefinedMethodException]
Attempted to call an undefined method named "getDocument" of class "Doctrine\ODM\PHPCR\Event\PreUpdateEventArgs".
Did you mean to call "getDocumentChangeSet"?

@dbu
Copy link
Member

dbu commented Mar 5, 2018

that looks like you end up with an old version of the sonata-project/cache repository together with a new version of doctrine commons and phpcr-odm. can you try updating sonata-project/cache?

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

No branches or pull requests

2 participants