报错日志:
500
Internal Server Error.
Request processing failed; nested exception is freemarker.core.NonHashException: For "." left-hand operand: Expected a hash, but this has evaluated to a sequence (ArrayList wrapped into f.t.DefaultListAdapter): ==> posts [in template "themes/ppoffice_icarus/layout/widget/slider.ftl" at line 12, column 31] ---- FTL stack trace ("~" means nesting-related): - Failed at: #list posts.content as post [in template "themes/ppoffice_icarus/layout/widget/slider.ftl" at line 12, column 24] - Reached through: #include "layout/widget/slider.ftl" [in template "themes/ppoffice_icarus/index.ftl" at line 6, column 7] ~ Reached through: #nested [in template "themes/ppoffice_icarus/layout/layout.ftl" in macro "layout" at line 84, column 25] ~ Reached through: @layout type="index" title="${options... [in template "themes/ppoffice_icarus/index.ftl" at line 3, column 1] ----