Page 1 of 1

Tip: TWIG error? - look at admin/templates

Posted: Thu Dec 01, 2011 10:33 am
by Martin
Found this one out today while figuring out why a module wasn't loading properly.

Turns out if you get an error like this:

Code: Select all

Fatal error: Uncaught exception 'Twig_SyntaxError' with message...
..it's likely that the cause is the associated template for the module(s) you're trying to access.

Check the relevant files in /admin/templates and replace as necessary to resolve...

Unfortunately the error reports are rarely particularly helpful in determining which template is the issue but at least it helps drill it down more than no clue at all :)