sonata-project/SonataCoreBundle

Sonata Core Bundle Catchable Fatal Error

Closed this issue · 2 comments

Hi I work with Sonata E-commerce Bundle . After I made "composer update " and my libraries updated I had error:
Catchable Fatal Error: Argument 2 passed to Sonata\CoreBundle\Model\BaseManager::__construct() must implement interface Doctrine\Common\Persistence\ManagerRegistry, instance of Doctrine\ORM\EntityManager given, called in D:\TrainingProjects\OpenSource\test-sonata-ecommerce\app\cache\dev\appDevDebugProjectContainer.php on line 7384 and defined in D:\TrainingProjects\OpenSource\test-sonata-ecommerce\vendor\sonata-project\core-bundle\Model\BaseManager.php line 41
Any ideas what it might be.

Please make sure that all your dependencies are uptodate

Yes, I checked all versions of bundles from here
https://packagist.org/packages/sonata-project/ecommerce
and checked all commits from github. All changes have been upgraded.

Do you have some other ideas what it can be ?