I tried to install SonataMediaBundle
as described here.
After installation I'm getting this error:
PHP Fatal error: Interface 'Sonata\CoreBundle\Model\ManagerInterface' not found in /var/www/prj/vendor/sonata-project/media-bundle/Sonata/MediaBundle/Model/MediaManagerInterface.php on line 20
There is a Sonata\CoreBundle\Entity\ManagerInterface
but no Sonata\CoreBundle\Model\ManagerInterface
!
What is the problem?
Both
CoreBundle
andAdminBundle
were updated recently and this namespace changed. Until it's solved you can ensure that you are using the most recent versions by including these lines in yourcomposer.json
: