tuchief/solo-blog

Solo从2.2.0升级到2.4的失败错误信息 - TuChief’s Metaverse

Opened this issue · 0 comments

https://www.tuchief.com/articles/2017/10/12/1507821825352.html

[ERROR]-[2017-10-12 23:17:09]-[org.b3log.latke.servlet.renderer.freemarker.AbstractFreeMarkerRenderer:138]: FreeMarker renders error
FreeMarker template error:
The following has evaluated to null or missing:
==> blogTitle [in template "index.ftl" at line 5, column 25]

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: ${blogTitle} [in template "index.ftl" at line 5, column 23]
- Reached through: @Head title="${blogTitle}" [in template "index.ftl" at line 5, column 9]

Java stack trace (for programmers):

freemarker.core.InvalidReferenceException: [... Exception message was already printed; see it above ...]