Skip to content

web profiler unable to find template #8665

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
bmelman opened this issue Aug 4, 2013 · 4 comments
Closed

web profiler unable to find template #8665

bmelman opened this issue Aug 4, 2013 · 4 comments

Comments

@bmelman
Copy link

bmelman commented Aug 4, 2013

Updating a fresh working symfony standard 2.3.2 stable to 2.3.x-dev fbb78ec (minimum-stability: stable->dev) gives a 500 error on loading web debug toolbar (app_dev.php). Opening the profiler shows: 1/1 UnexpectedValueException: The profiler template "SecurityBundle:Collector:security.html.twig" for data collector "security" does not exist.

@wouterj
Copy link
Member

wouterj commented Aug 4, 2013

This is a twig problem with the latest unstable version. See also fabpot/Twig#1156

To solve this, force a stable twig release by adding "twig/twig": "@stable" in your composer.json file

@bmelman
Copy link
Author

bmelman commented Aug 4, 2013

Adding "twig/twig": "@stable" to my composer.json solved this error indeed! I guess this confirms fabpot/Twig#1156

@wouterj
Copy link
Member

wouterj commented Aug 4, 2013

Could you please close this issue, as it's not a symfony issue?

@bmelman bmelman closed this as completed Aug 4, 2013
@jmeyo
Copy link

jmeyo commented Aug 5, 2013

But still a really useful pointer, I spend some time on that strange error today...

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