Created
March 17, 2014 10:56
-
-
Save ElectricMaxxx/9597332 to your computer and use it in GitHub Desktop.
Got Exception with SonataUserbundle
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Just adding the sonata-user-bundle to the appKernel causes this exception: | |
``` | |
ReflectionException: Class Application\Sonata\UserBundle\Entity\User does not exist | |
in /home/onitdlbj/neckartalradweg.onit-development.loc/vendor/sonata-project/admin-bundle/DependencyInjection/Compiler/ExtensionCompilerPass.php line 99 | |
at ReflectionClass->__construct('Application\Sonata\UserBundle\Entity\User') in /home/onitdlbj/neckartalradweg.onit-development.loc/vendor/sonata-project/admin-bundle/DependencyInjection/Compiler/ExtensionCompilerPass.php line 99 | |
at ExtensionCompilerPass->getExtensionsForAdmin('sonata.user.admin.user', object(Definition), object(ContainerBuilder), array('excludes' => array(), 'admins' => array(), 'implements' => array('Symfony\Cmf\Bundle\MenuBundle\Model\MenuNodeReferrersInterface' => array('cmf_menu.admin_extension.menu_node_referrers')), 'extends' => array(), 'instanceof' => array())) in /home/onitdlbj/neckartalradweg.onit-development.loc/vendor/sonata-project/admin-bundle/DependencyInjection/Compiler/ExtensionCompilerPass.php line 64 | |
at ExtensionCompilerPass->process(object(ContainerBuilder)) in /home/onitdlbj/neckartalradweg.onit-development.loc/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/Compiler.php line 117 | |
at Compiler->compile(object(ContainerBuilder)) in /home/onitdlbj/neckartalradweg.onit-development.loc/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php line 619 | |
at ContainerBuilder->compile() in /home/onitdlbj/neckartalradweg.onit-development.loc/app/bootstrap.php.cache line 2491 | |
at Kernel->initializeContainer() in /home/onitdlbj/neckartalradweg.onit-development.loc/app/bootstrap.php.cache line 2270 | |
at Kernel->boot() in /home/onitdlbj/neckartalradweg.onit-development.loc/app/bootstrap.php.cache line 2301 | |
at Kernel->handle(object(Request)) in /home/onitdlbj/neckartalradweg.onit-development.loc/web/app_dev.php line 29 | |
``` |
Do not have the chance to create the Application... namespace, cause nothing runs anymore :-)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
even if there is no setting for user bundle done.