Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Circular reference detected for service "foo/bar" in symfony/dependency-injection #42799

Closed
@bobdenotter

Description

@bobdenotter

With symfony/dependency-injection 5.3.7, we're getting a bunch of these errors:

In CheckCircularReferencesPass.php line 67:

  Circular reference detected for service "Bolt\Menu\StopwatchBackendMenuBuilder", path: "Bolt\Menu\StopwatchBackendMenuBuilder -> Bolt\Menu\StopwatchBackendMenuBuilder"

It seems that this is caused by the changed order in Compiler/Passconfig.php, introduced here:

afbeelding

It's part of this PR: #42347 #40406 by @derrabus

Was this change deliberate? If so, are we doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions