Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflict between Doctrine migration bundle and this bundle #77

Open
jbcr opened this issue Jun 8, 2020 · 0 comments
Open

Conflict between Doctrine migration bundle and this bundle #77

jbcr opened this issue Jun 8, 2020 · 0 comments

Comments

@jbcr
Copy link

jbcr commented Jun 8, 2020

Hi,

In a Symfony 3.4 project, I use this bundle and Doctrine.

When I install Doctrine Migrations bundle, the warmup command return this error:

In ExceptionCaster.php line 289:
                                                              
  [Symfony\Component\Debug\Exception\FatalThrowableError]     
  Maximum function nesting level of '256' reached, aborting!  
                                                              
[...]

 Closure->__invoke() at /home/me/dev/var/cache/dev/ContainerFvefxol/EntityManager_9a5be93.php:298
 EntityManager_9a5be93->getRepository() at /home/me/dev/vendor/mgilet/notification-bundle/Manager/NotificationManager.php:44
 Mgilet\NotificationBundle\Manager\NotificationManager->__construct() at /home/me/dev/var/cache/dev/ContainerFvefxol/appDevDebugProjectContainer.php:2100
 ContainerFvefxol\appDevDebugProjectContainer->getMgilet_NotificationService() at /home/me/dev/var/cache/dev/ContainerFvefxol/appDevDebugProjectContainer.php:1823
 ContainerFvefxol\appDevDebugProjectContainer->getDoctrine_Dbal_DefaultConnectionService() at /home/me/dev/var/cache/dev/ContainerFvefxol/appDevDebugProjectContainer.php:1908
 ContainerFvefxol\appDevDebugProjectContainer->getDoctrine_Orm_DefaultEntityManagerService() at /home/me/dev/var/cache/dev/ContainerFvefxol/appDevDebugProjectContainer.php:1867
 ContainerFvefxol\appDevDebugProjectContainer->ContainerFvefxol\{closure}() at /home/me/dev/var/cache/dev/ContainerFvefxol/EntityManager_9a5be93.php:298
 Closure->__invoke() at /home/me/dev/var/cache/dev/ContainerFvefxol/EntityManager_9a5be93.php:298
 EntityManager_9a5be93->getRepository() at /home/me/dev/vendor/mgilet/notification-bundle/Manager/NotificationManager.php:44
 Mgilet\NotificationBundle\Manager\NotificationManager->__construct() at /home/me/dev/var/cache/dev/ContainerFvefxol/appDevDebugProjectContainer.php:2100
 ContainerFvefxol\appDevDebugProjectContainer->getMgilet_NotificationService() at /home/me/dev/var/cache/dev/ContainerFvefxol/appDevDebugProjectContainer.php:1823
 ContainerFvefxol\appDevDebugProjectContainer->getDoctrine_Dbal_DefaultConnectionService() at /home/me/dev/var/cache/dev/ContainerFvefxol/appDevDebugProjectContainer.php:1908
 ContainerFvefxol\appDevDebugProjectContainer->getDoctrine_Orm_DefaultEntityManagerService() at /home/me/dev/var/cache/dev/ContainerFvefxol/appDevDebugProjectContainer.php:1867
 ContainerFvefxol\appDevDebugProjectContainer->ContainerFvefxol\{closure}() at /home/me/dev/var/cache/dev/ContainerFvefxol/EntityManager_9a5be93.php:298
 Closure->__invoke() at /home/me/dev/var/cache/dev/ContainerFvefxol/EntityManager_9a5be93.php:298
 EntityManager_9a5be93->getRepository() at /home/me/dev/vendor/mgilet/notification-bundle/Manager/NotificationManager.php:44
 Mgilet\NotificationBundle\Manager\NotificationManager->__construct() at /home/me/dev/var/cache/dev/ContainerFvefxol/appDevDebugProjectContainer.php:2100
 ContainerFvefxol\appDevDebugProjectContainer->getMgilet_NotificationService() at /home/me/dev/var/cache/dev/ContainerFvefxol/appDevDebugProjectContainer.php:2359
 ContainerFvefxol\appDevDebugProjectContainer->getTwigService() at /home/me/dev/var/cache/dev/ContainerFvefxol/getTwig_CacheWarmerService.php:12
 ContainerFvefxol\appDevDebugProjectContainer->{closure}() at /home/me/dev/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ServiceLocator.php:64
 Symfony\Component\DependencyInjection\ServiceLocator->get() at /home/me/dev/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/CacheWarmer/TemplateCacheCacheWarmer.php:63
 Symfony\Bundle\TwigBundle\CacheWarmer\TemplateCacheCacheWarmer->warmUp() at /home/me/dev/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/CacheWarmer/CacheWarmerAggregate.php:52
 Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate->warmUp() at /home/me/dev/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Command/CacheWarmupCommand.php:96
 Symfony\Bundle\FrameworkBundle\Command\CacheWarmupCommand->execute() at /home/me/dev/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:255
 Symfony\Component\Console\Command\Command->run() at /home/me/dev/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:1005
 Symfony\Component\Console\Application->doRunCommand() at /home/me/dev/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:86
 Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() at /home/me/dev/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:255
 Symfony\Component\Console\Application->doRun() at /home/me/dev/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:74
 Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /home/me/dev/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:148
 Symfony\Component\Console\Application->run() at /home/me/dev/bin/console:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant