Elao / WebProfilerExtraBundle

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

Call to undefined method Twig_Function_Method::getName() #35

Closed thoroc closed 11 years ago

thoroc commented 11 years ago

Hi I have just created a new project running off sf2 2.2. and I am getting the following error message when enabling the twig part of the web_profiler_extra:

1/1 FatalErrorException: Error: Call to undefined method Twig_Function_Method::getName() in /home/touristtam/Projects/imbc/vendor/elao/web-profiler-extra-bundle/Elao/WebProfilerExtraBundle/DataCollector/TwigDataCollector.php line 62
benji07 commented 11 years ago

Which version of twig do you use ?

benji07 commented 11 years ago

Did you create a custom twig filter with a new Twig_Function_Method instead of a Twig_Filter_Method or a Twig_SimpleFilter .

thoroc commented 11 years ago

indeed ... my bad. :/