The following has evaluated to null or missing: ==> content.attaches [in template "json://{\"siteId\":\"1\",\"category\":\"content\",\"name\":\"普通稿件\"}_.json" at line 158, column 54] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to 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 content.attaches?size > 0 [in template "json://{\"siteId\":\"1\",\"category\":\"content\",\"name\":\"普通稿件\"}_.json" at line 158, column 49] ----