Solve error: The service “sonata.admin.post” has a dependency on a non-existent service “sonata.admin.manager.orm”

Do you get this error with Sonata Project: The service "sonata.admin.post" has a dependency on a non-existent service "sonata.admin.manager.orm"? In this tutorial I will explain to you how you can solve this error.

To solve this error, you must only install SonataDoctrineORMAdminBundle.

Open your command line from your Sonata Project and enter: php composer.phar require sonata-project/doctrine-orm-admin-bundle

You can download the composer.phar file from https://getcomposer.org/composer.phar

Next, open the app/AppKernel.php file and add:

new Sonata\DoctrineORMAdminBundle\SonataDoctrineORMAdminBundle(),









Leave a Comment