-
Notifications
You must be signed in to change notification settings - Fork 179
Closed
Description
Seems like there is a circular reference with the latest version of Bolt
Details
| Question | Answer |
|---|---|
| Relevant Bolt Version | 5.0 |
| Install type | Composer install |
| PHP version | 7.3 |
Reproduction
bobvandevijver@webdev:~/website$ bin/console bolt:info -vvv
In CheckCircularReferencesPass.php line 67:
[Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException]
Circular reference detected for service "Bolt\Menu\StopwatchBackendMenuBuilder", path: "Bolt\Menu\StopwatchBackendMenuBuilder -> Bolt\Menu\StopwatchBackendMen
uBuilder".
Exception trace:
at /var/www/website-v2-dev/vendor/symfony/dependency-injection/Compiler/CheckCircularReferencesPass.php:67
Symfony\Component\DependencyInjection\Compiler\CheckCircularReferencesPass->checkOutEdges() at /var/www/website-v2-dev/vendor/symfony/dependency-injection/Compiler/CheckCircularReferencesPass.php:70
Symfony\Component\DependencyInjection\Compiler\CheckCircularReferencesPass->checkOutEdges() at /var/www/website-v2-dev/vendor/symfony/dependency-injection/Compiler/CheckCircularReferencesPass.php:43
Symfony\Component\DependencyInjection\Compiler\CheckCircularReferencesPass->process() at /var/www/website-v2-dev/vendor/symfony/dependency-injection/Compiler/Compiler.php:91
Symfony\Component\DependencyInjection\Compiler\Compiler->compile() at /var/www/website-v2-dev/vendor/symfony/dependency-injection/ContainerBuilder.php:744
Symfony\Component\DependencyInjection\ContainerBuilder->compile() at /var/www/website-v2-dev/vendor/symfony/http-kernel/Kernel.php:545
Symfony\Component\HttpKernel\Kernel->initializeContainer() at /var/www/website-v2-dev/vendor/symfony/http-kernel/Kernel.php:786
Symfony\Component\HttpKernel\Kernel->preBoot() at /var/www/website-v2-dev/vendor/symfony/http-kernel/Kernel.php:125
Symfony\Component\HttpKernel\Kernel->boot() at /var/www/website-v2-dev/vendor/bolt/core/src/Kernel.php:40
Bolt\Kernel->boot() at /var/www/website-v2-dev/vendor/symfony/framework-bundle/Console/Application.php:168
Symfony\Bundle\FrameworkBundle\Console\Application->registerCommands() at /var/www/website-v2-dev/vendor/symfony/framework-bundle/Console/Application.php:74
Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /var/www/website-v2-dev/vendor/symfony/console/Application.php:167
Symfony\Component\Console\Application->run() at /var/www/website-v2-dev/bin/console:39
Metadata
Metadata
Assignees
Labels
No labels