Tip: TWIG error? - look at admin/templates

For articles specific to version 6.x
Post Reply
Martin
Site Admin
Site Admin
Posts: 1854
Joined: Wed Jun 17, 2009 6:30 pm
Location: South Yorkshire UK
Contact:

Tip: TWIG error? - look at admin/templates

Post 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 :)
Post Reply