88250 / solo

🎸 B3log 分布式社区的 Java 博客端节点系统,欢迎加入下一代社区网络。B3log distributed community blog-end node based on Java, welcome to join the next generation community network.
https://b3log.org/solo
Other
1.58k stars 441 forks source link

主页进不去,显示500Internal Server Error! #237

Closed lenks-124 closed 2 years ago

lenks-124 commented 2 years ago
freemarker.core.InvalidReferenceException: The following has evaluated to null or missing:
==> statistic.statisticPublishedBlogCommentCount  [in template "skins/Pinghsu/footer.ftl" at line 65, column 15]

----
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: ${statistic.statisticPublishedBlogCom...  [in template "skins/Pinghsu/footer.ftl" at line 65, column 13]
    - Reached through: #include "footer.ftl"  [in template "skins/Pinghsu/index.ftl" at line 37, column 1]
----
    at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:134) ~[freemarker-2.3.31.jar:2.3.31]
88250 commented 2 years ago

是最新版么?

lenks-124 commented 2 years ago

解决问题了。。我下载的是gitee上面的所有主题。刚才去github拉下来solo里面的skins,正常了 !!!