cmf-sandbox icon indicating copy to clipboard operation
cmf-sandbox copied to clipboard

CMF Sandbox v 2.1: Load doctrine fixtures cause Exception

Open kiennd146 opened this issue 7 years ago • 1 comments

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"?

kiennd146 avatar Mar 03 '18 18:03 kiennd146

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?

dbu avatar Mar 05 '18 08:03 dbu