MikeGA
MikeGA

Reputation: 1262

Please help me debug this error message I get at the console

When I run this command php app/console translation:update es GWDAdminBundle --force --prefix="__" at the terminal I get the following error message:

[Twig_Error_Syntax]                                                                     
Unexpected token "name" of value "View" ("end of print statement" expected) at line 31

I don't which file is throwing this error, when I look at the log there is nothing remotely close to this, I suspect that it is one of my view files but how do I begin looking? Any ideas?

Upvotes: 1

Views: 2028

Answers (1)

MikeGA
MikeGA

Reputation: 1262

Many thanks to kix! I was able to debug all of my twig files with the following command:

php app/console twig:lint src/

Upvotes: 4

Related Questions