Skip to content

Symfony 6.2 infinite dependency-injection loop error #48515

Answered by stof
hanishsingla asked this question in Q&A
Discussion options

You must be logged in to vote

Does it also happen if you increase the max recursion from 256 to 1000 ? In my experience, it is possible to have some deep recursion depending on your service graph, but it is still not infinite.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@hanishsingla
Comment options

@andrew-demb
Comment options

Answer selected by hanishsingla
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@derickr
Comment options

@curry684
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants