symfony-cmf / cmf-sandbox

Base project for trying CMF components integration
http://cmf.symfony.com
Other
367 stars 140 forks source link

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

Open kiennd146 opened 6 years ago

kiennd146 commented 6 years ago

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 commented 6 years ago

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?