Elao / WebProfilerExtraBundle

Adding routing, container, assetic & twig information in the web profiler
http://www.elao.com
MIT License
262 stars 48 forks source link

twig error #30

Closed lunetics closed 11 years ago

lunetics commented 11 years ago

With 2.1 i get the following error to the latest update:

[Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException]
The service "templating.engine.twig" has a dependency on a non-existent parameter "web_profiler_extra.templating.engine.twig.class".

guess it has to do with compiler pass.

This only happens if twig debugging is not enabled in the config!

benji07 commented 11 years ago

which branch did you use ? I try with both 2.1 and master branches and I work fine with the latest version of symfony 2.1

XWB commented 11 years ago

Same problem here with Symfony 2.1 and the master branch of WebProfilerExtraBundle.

web_profiler_extra:
    twig:
        enabled: false
tristanbes commented 11 years ago

The master branch is for Symfony 2.2 The branch "2.1" is for Symfony <= 2.1

@XWB we're going to look at it.

benji07 commented 11 years ago

Ok, it's all good for both 2.1 and 2.2

XWB commented 11 years ago

https://github.com/Elao/WebProfilerExtraBundle/commit/cfeba31310612476bdb41d96a9ac534bb641278f fixed the problem. Thanks ;)

lunetics commented 11 years ago

seems like fixed :)