PROBLEM WITH TEMPLATE, CHECK YOUR FTL (reader/pageflip/swipe.ftl):
freemarker.core.InvalidReferenceException: The following has evaluated to null or missing:
==> layout [in template "templates/footer/_home.ftl" at line 11, column 10]
----
Tip: If the failing expression is known to be legally refer to something that's sometimes 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: #if layout.getLayoutObject().getType(... [in template "templates/footer/_home.ftl" at line 11, column 5]
- Reached through: #include "/templates/footer/_home.ftl" [in template "reader/pageflip/_footer.ftl" in macro "footer" at line 48, column 21]
- Reached through: @footer [in template "templates/frontend.ftl" in macro "frontend_layout" at line 103, column 9]
- Reached through: @frontend_layout viewArea="vc_reader_... [in template "reader/pageflip/swipe.ftl" at line 6, column 1]
----