Skip to content

切换主题后首页无法访问 #32

@HandsomeGrimm

Description

@HandsomeGrimm

Caused by: freemarker.core.InvalidReferenceException: The following has evaluated to null or missing:
==> paginationTag [in template "themes/simple-bootstrap/module/index/pagination.ftl" at line 4, column 11]


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: @paginationTag method="index" page="$... [in template "themes/simple-bootstrap/module/index/pagination.ftl" in macro "pagination" at line 4, column 9]
- Reached through: @Pagination posts=posts [in template "themes/simple-bootstrap/module/index/left.ftl" at line 12, column 5]
- Reached through: #include "module/index/left.ftl" [in template "themes/simple-bootstrap/index.ftl" at line 10, column 17]
~ Reached through: #nested [in template "themes/simple-bootstrap/module/layout.ftl" in macro "layout" at line 165, column 5]
~ Reached through: @layout title="首页 | ${blog_title!}" [in template "themes/simple-bootstrap/index.ftl" at line 4, column 1]

--不会前段的菜鸟。。谢谢了

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions