8000 Circular reference · Issue #2810 · bolt/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Circular reference #2810

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

Closed
bobvandevijver opened this issue Aug 30, 2021 · 4 comments
Closed

Circular reference #2810

bobvandevijver opened this issue Aug 30, 2021 · 4 comments

Comments

@bobvandevijver
Copy link
Member

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
@bobvandevijver
Copy link
Member Author
bobvandevijver commented Aug 30, 2021

This is caused by the latest Symfony release, see issue symfony/symfony#42791.

Can be resolved by adding the following to the composer.json file:

"conflict": {
    "symfony/dependency-injection": "5.3.7"
},

@bobdenotter
Copy link
Member

We bumped into this half an hour ago, as well.. Just a bit of bad timing, because when i did the final rounds of monkey-testing this morning, the version that breaks wasn't released yet.. 😅

bobdenotter added a commit that referenced this issue Aug 30, 2021
@bobdenotter
Copy link
Member

I Ninja-edited a quick fix here: 8bb0725

We'll sort it out properly in the morning.

@bobdenotter
Copy link
Member

Fixed, now that symfony/dependency-injection, version v5.3.8 has been released.

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

2 participants
0