Skip to content

Instantly share code, notes, and snippets.

@codecowboy
Created June 27, 2011 11:59
Show Gist options
  • Save codecowboy/1048738 to your computer and use it in GitHub Desktop.
Save codecowboy/1048738 to your computer and use it in GitHub Desktop.
Twig error
A template that extends another one cannot have a body (Twig_Node_Print(
expr: Twig_Node_Expression_Filter(
node: Twig_Node_Expression_Constant(value: 'registration.check_email')
filter: Twig_Node_Expression_Constant(value: 'trans')
arguments: Twig_Node(
0: Twig_Node_Expression_Array(
%email%: Twig_Node_Expression_GetAttr(type: 'any'
node: Twig_Node_Expression_Name(name: 'user')
attribute: Twig_Node_Expression_Constant(value: 'email')
arguments: Twig_Node()
)
)
1: Twig_Node_Expression_Constant(value: 'FOSUserBundle')
)
)
)) in FOSUserBundle:Registration:checkEmail.html.twig at line 2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment