Fatal error: Uncaught Twig_Error_Syntax: Unexpected end of template. in /home/pg-news/resource/pgnews/views/framework/site/error/500.twig:18 Stack trace: #0 /home/pg-news/lib/twig/twig/twig/lib/Twig/ExpressionParser.php(378): Twig_TokenStream->next() #1 /home/pg-news/lib/twig/twig/twig/lib/Twig/ExpressionParser.php(308): Twig_ExpressionParser->parseSubscriptExpression(Object(Twig_Node_Expression_Name)) #2 /home/pg-news/lib/twig/twig/twig/lib/Twig/ExpressionParser.php(202): Twig_ExpressionParser->parsePostfixExpression(Object(Twig_Node_Expression_Name)) #3 /home/pg-news/lib/twig/twig/twig/lib/Twig/ExpressionParser.php(92): Twig_ExpressionParser->parsePrimaryExpression() #4 /home/pg-news/lib/twig/twig/twig/lib/Twig/ExpressionParser.php(45): Twig_ExpressionParser->getPrimary() #5 /home/pg-news/lib/twig/twig/twig/lib/Twig/Parser.php(123): Twig_ExpressionParser->parseExpression() #6 /home/pg-news/lib/twig/twig/twig/lib/Twig/TokenParser/If.php(34): Twig_Parser->subparse(Array) #7 /home/pg-news/lib/twig/twig/twig/lib/Twig/Parser in /home/pg-news/resource/pgnews/views/framework/site/error/500.twig on line 18