主题 : 静态化页面含有nodeList问题
级别: 白丁
UID: 119623
积分:113 加为好友
威望: 3 精华: 0
主题:12 回复:61
注册时间:2018-01-05
在线时长:0
1#   发表于:2020-03-20 19:04:36  IP:183.222.*.*
The following has evaluated to null or missing: ==> channel.nodeList[1] [in template "WEB-INF/t/cms/www/default/channel/news_gszz.html" at line 54, column 9] ---- Tip: It's the final [] step that caused this error, not those before it. ---- Tip: If the failing expression is known to be 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: ${channel.nodeList[1].name} [in template "WEB-INF/t/cms/www/default/channel/news_gszz.html" at line 54, column 7] ----

当生成静态页面的时候 页面含有nodeList[0]的时候会报错
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
2#   发表于:2020-03-23 08:32:01  IP:182.236.*.*
您那边用的是什么版本的?
每天告诉自己一次,“我真的很不错”。
级别: 白丁
UID: 119623
积分:113 加为好友
威望: 3 精华: 0
主题:12 回复:61
注册时间:2018-01-05
在线时长:0
3#   发表于:2020-03-24 23:38:13  IP:183.222.*.*
8.2版本的
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
4#   发表于:2020-03-25 09:07:41  IP:182.29.*.*
您好  这个版本我们已经不在维护了
每天告诉自己一次,“我真的很不错”。
1 共1页