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

Circular reference detected for service "templating". #128

Closed
ceednee opened this issue Jan 17, 2013 · 3 comments
Closed

Circular reference detected for service "templating". #128

ceednee opened this issue Jan 17, 2013 · 3 comments

Comments

@ceednee
Copy link

ceednee commented Jan 17, 2013

Hi all,

I don't know if this Exception is a real issue but in all cases...

I upgraded Nelmio to the latest version and I had to move request_listener.enable option to false

request_listener:
        enabled: false

if set to true, this errors is returned:

<abbr title="Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException">ServiceCircularReferenceException</abbr>: Circular reference detected for service "templating", path: "nelmio_api_doc.event_listener.request -> nelmio_api_doc.formatter.html_formatter -> templating -> twig -> twig.extension.httpkernel -> http_content_renderer -> http_content_renderer.strategy.hinclude".

Could someone help me on this please?

@Seldaek
Copy link
Member

Seldaek commented Jan 17, 2013

Can you say which symfony version you're on? Sounds like an issue in symfony itself triggered by anything depending on templating, but I'm not sure.

@stof
Copy link
Contributor

stof commented Jan 17, 2013

This is not a bug in this bundle but in Symfony 2.2: symfony/symfony#6730

@ceednee
Copy link
Author

ceednee commented Jan 17, 2013

Oh... ok thank you

@Seldaek Seldaek closed this as completed Jan 17, 2013
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

3 participants