freemarker.core.InvalidReferenceException: The following has evaluated to null or missing: ==> this.root.parent.getNodeByPath("eml").getChildrenByFormat("settings")[0] [in template "eml/page-header.ftl" at line 201, column 43] ---- Tip: It's the final [] step that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's null or missing, either specify a default value like myOptionalVar!myDefault, or use [#if myOptionalVar??]when-present[#else]when-missing[/#if]. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign globalSettings = this.root.pa... [in template "eml/page-header.ftl" at line 201, column 17] - Reached through: #include "page-header.ftl" [in template "eml/page.ftl" at line 5, column 1] - Reached through: #include "page.ftl" [in template "eml/format-news.html" at line 1, column 1] ----