I have the latest Symfony and Twig code and trying to run the following: {% if filter is defined and filter == 'recent' %} .... {% endif %}
{% extends 'WebBundle::layout.html.twig' %} And getting this error: An exception has been thrown during the compilation of a template ("Catchable Fatal Error: Argument 1 passed to Twig_Parser::filterBodyNodes() must implement interface Twig_NodeInterface, null given, called in ../vendor/twig/lib/Twig/ Parser.php on line 313 and defined in ../vendor/twig/lib/Twig/ Parser.php line 297") in {}. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to symfony-devs@googlegroups.com To unsubscribe from this group, send email to symfony-devs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en