Skip to content

Instantly share code, notes, and snippets.

@sensi
Created January 8, 2014 09:30
Show Gist options
  • Save sensi/8314073 to your computer and use it in GitHub Desktop.
Save sensi/8314073 to your computer and use it in GitHub Desktop.
Stacktrace of the ManagerInterface issue
Whoops, looks like something went wrong.
1/1 FatalErrorException: Compile Error: Cannot redeclare class Sonata\CoreBundle\Entity\ManagerInterface in /Applications/MAMP/htdocs/m3imocontrol/vendor/sonata-project/core-bundle/Sonata/CoreBundle/Entity/ManagerInterface.php line 21
in /Applications/MAMP/htdocs/m3imocontrol/vendor/sonata-project/core-bundle/Sonata/CoreBundle/Entity/ManagerInterface.php line 21
at ErrorHandler->handleFatal() in /Applications/MAMP/htdocs/m3imocontrol/vendor/symfony/symfony/src/Symfony/Component/Debug/ErrorHandler.php line 0
in /Applications/MAMP/htdocs/m3imocontrol/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/AnnotationDriver.php line 197
at AnnotationDriver->getAllClassNames() in /Applications/MAMP/htdocs/m3imocontrol/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/MappingDriverChain.php line 129
at MappingDriverChain->getAllClassNames() in /Applications/MAMP/htdocs/m3imocontrol/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php line 234
at ClassMetadataFactory->addDefaultDiscriminatorMap() in /Applications/MAMP/htdocs/m3imocontrol/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php line 162
at ClassMetadataFactory->doLoadMetadata() in /Applications/MAMP/htdocs/m3imocontrol/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php line 318
at AbstractClassMetadataFactory->loadMetadata() in /Applications/MAMP/htdocs/m3imocontrol/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php line 211
at AbstractClassMetadataFactory->getMetadataFor() in /Applications/MAMP/htdocs/m3imocontrol/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php line 268
at EntityManager->getClassMetadata() in /Applications/MAMP/htdocs/m3imocontrol/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php line 2517
at UnitOfWork->createEntity() in /Applications/MAMP/htdocs/m3imocontrol/vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php line 246
at ObjectHydrator->_getEntity() in /Applications/MAMP/htdocs/m3imocontrol/vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php line 479
at ObjectHydrator->hydrateRowData() in /Applications/MAMP/htdocs/m3imocontrol/vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php line 150
at ObjectHydrator->hydrateAllData() in /Applications/MAMP/htdocs/m3imocontrol/vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php line 111
at AbstractHydrator->hydrateAll() in /Applications/MAMP/htdocs/m3imocontrol/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php line 751
at AbstractQuery->execute() in /Applications/MAMP/htdocs/m3imocontrol/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php line 542
at AbstractQuery->getResult() in /Applications/MAMP/htdocs/m3imocontrol/vendor/stephpy/TimelineBundle/Spy/TimelineBundle/Filter/DataHydrator/Locator/DoctrineORM.php line 77
at DoctrineORM->locate() in /Applications/MAMP/htdocs/m3imocontrol/vendor/stephpy/timeline/src/Spy/Timeline/Filter/DataHydrator.php line 108
at DataHydrator->hydrateComponents() in /Applications/MAMP/htdocs/m3imocontrol/vendor/stephpy/timeline/src/Spy/Timeline/Filter/DataHydrator.php line 76
at DataHydrator->filter() in /Applications/MAMP/htdocs/m3imocontrol/vendor/stephpy/timeline/src/Spy/Timeline/Filter/FilterManager.php line 50
at FilterManager->filter() in /Applications/MAMP/htdocs/m3imocontrol/vendor/stephpy/timeline/src/Spy/Timeline/ResultBuilder/ResultBuilder.php line 68
at ResultBuilder->fetchResults() in /Applications/MAMP/htdocs/m3imocontrol/vendor/stephpy/TimelineBundle/Spy/TimelineBundle/Driver/ORM/TimelineManager.php line 51
at TimelineManager->getTimeline() in /Applications/MAMP/htdocs/m3imocontrol/vendor/sonata-project/timeline-bundle/Sonata/TimelineBundle/Block/TimelineBlock.php line 79
at TimelineBlock->execute() in /Applications/MAMP/htdocs/m3imocontrol/app/cache/dev/classes.php line 12853
at BlockRenderer->render() in /Applications/MAMP/htdocs/m3imocontrol/vendor/sonata-project/block-bundle/Sonata/BlockBundle/Templating/Helper/BlockHelper.php line 365
at BlockHelper->render() in /Applications/MAMP/htdocs/m3imocontrol/app/cache/dev/twig/42/d8/0dee6967f34d9c0b9c9537ffe050.php line 148
at ??call_user_func_array() in /Applications/MAMP/htdocs/m3imocontrol/app/cache/dev/twig/42/d8/0dee6967f34d9c0b9c9537ffe050.php line 148
at __TwigTemplate_42d80dee6967f34d9c0b9c9537ffe050->block_content() in /Applications/MAMP/htdocs/m3imocontrol/app/cache/dev/classes.php line 4302
at ??call_user_func() in /Applications/MAMP/htdocs/m3imocontrol/app/cache/dev/classes.php line 4302
at Twig_Template->displayBlock() in /Applications/MAMP/htdocs/m3imocontrol/app/cache/dev/classes.php line 4318
at Twig_Template->renderBlock() in /Applications/MAMP/htdocs/m3imocontrol/app/cache/dev/twig/5b/66/6740b40d6de084817830be27e1a8.php line 50
at __TwigTemplate_5b666740b40d6de084817830be27e1a8->doDisplay() in /Applications/MAMP/htdocs/m3imocontrol/app/cache/dev/classes.php line 4354
at Twig_Template->displayWithErrorHandling() in /Applications/MAMP/htdocs/m3imocontrol/app/cache/dev/classes.php line 4335
at Twig_Template->display() in /Applications/MAMP/htdocs/m3imocontrol/app/cache/dev/twig/42/d8/0dee6967f34d9c0b9c9537ffe050.php line 24
at __TwigTemplate_42d80dee6967f34d9c0b9c9537ffe050->doDisplay() in /Applications/MAMP/htdocs/m3imocontrol/app/cache/dev/classes.php line 4354
at Twig_Template->displayWithErrorHandling() in /Applications/MAMP/htdocs/m3imocontrol/app/cache/dev/classes.php line 4335
at Twig_Template->display() in /Applications/MAMP/htdocs/m3imocontrol/app/cache/dev/classes.php line 4342
at Twig_Template->render() in /Applications/MAMP/htdocs/m3imocontrol/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php line 53
at TwigEngine->render() in /Applications/MAMP/htdocs/m3imocontrol/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php line 83
at TwigEngine->render() in /Applications/MAMP/htdocs/m3imocontrol/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Debug/TimedTwigEngine.php line 52
at TimedTwigEngine->render() in /Applications/MAMP/htdocs/m3imocontrol/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php line 112
at TwigEngine->renderResponse() in /Applications/MAMP/htdocs/m3imocontrol/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php line 106
at Controller->render() in /Applications/MAMP/htdocs/m3imocontrol/vendor/sonata-project/admin-bundle/Sonata/AdminBundle/Controller/CoreController.php line 60
at CoreController->dashboardAction() in /Applications/MAMP/htdocs/m3imocontrol/app/bootstrap.php.cache line 2843
at ??call_user_func_array() in /Applications/MAMP/htdocs/m3imocontrol/app/bootstrap.php.cache line 2843
at HttpKernel->handleRaw() in /Applications/MAMP/htdocs/m3imocontrol/app/bootstrap.php.cache line 2817
at HttpKernel->handle() in /Applications/MAMP/htdocs/m3imocontrol/app/bootstrap.php.cache line 2946
at ContainerAwareHttpKernel->handle() in /Applications/MAMP/htdocs/m3imocontrol/app/bootstrap.php.cache line 2247
at Kernel->handle() in /Applications/MAMP/htdocs/m3imocontrol/web/app_dev.php line 42
at ??{main}() in /Applications/MAMP/htdocs/m3imocontrol/web/app_dev.php line 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment