Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
HandsomeGrimm opened this issue Jul 4, 2020 · 0 comments
Open

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

HandsomeGrimm opened this issue Jul 4, 2020 · 0 comments

Comments

@HandsomeGrimm
Copy link

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]

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant