プラグイン > バグ報告・利用に関する質問 > Impossible to access an attribute ("name01") on a string variable ("anon.").について |
バグ報告・利用に関する質問
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
umebius |
投稿日時: 2019/3/24 1:44
対応状況: −−−
|
神 登録日: 2016/7/22 居住地: 投稿: 2085 |
Re: Impossible to access an attribute ("name01") on a string variable ("anon.").について そうなのですね、だとすると画像が1つも登録されていない場合NewsImages変数が渡ってきていないといった問題があるのでしょうか...
とりあえず {% if NewsImages[News.id] %}を {% if NewsImages is defined and NewsImages[News.id] %}に変更すればエラー回避できるのではないかと思います。 |
フラット表示 | 前のトピック | 次のトピック |