{"code":500,"msg":"The following has evaluated to null or missing:\n==> Site.seoKeywords [in template \"swikoon_pc/template/index.template.html\" at line 13, column 11]\n\n----\nTip: It's the step after the last dot that caused this error, not those before it.\n----\nTip: 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)??\n----\n\n----\nFTL stack trace (\"~\" means nesting-related):\n\t- Failed at: ${Site.seoKeywords} [in template \"swikoon_pc/template/index.template.html\" at line 13, column 9]\n----"}
{"code":500,"msg":"Template page flag is already activated!\n\n----\nFTL stack trace (\"~\" means nesting-related):\n\t- Failed at: @cms_content catalogid=\"${Catalog.cat... [in template \"swikoon_pc/template/list.template.html\" at line 75, column 11]\n----"}
关键词:The following has evaluated to null or missing:\n==> OtherPage
分页变量并不是所有模板可用,目前分页变量仅在一些有分页需求的模板页面可用:
栏目列表页模板(不是栏目首页模板,栏目配置时请区分清楚)
内容详情页模板
搜索结果页模板(动态模板类型:Search)
会员中心页模板(动态模板类型:AccountCentre)
{"code":500,"msg":"The following has evaluated to null or missing:\n==> OtherPage [in template \"swikoon_pc/template/list.template.html\" at line 134, column 28]\n\n----\nTip: 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)??\n----\n\n----\nFTL stack trace (\"~\" means nesting-related):\n\t- Failed at: ${OtherPage?replace(\"{0}\", pn)} [in template \"swikoon_pc/template/list.template.html\" at line 134, column 26]\n----"}