【模板】分页变量 `${OtherPage}` 不存在

关键词: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----"}

内容导航