Възникна грешка при обработка на шаблона.
The following has evaluated to null or missing: ==> curEntry.getPublishDate() [in template "20097#20123#55016" at line 40, column 12] ---- 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: newsdate = curEntry.getPublishDate()?... [in template "20097#20123#55016" at line 40, column 1] ----
1<style>
2.news-title {
3font-weight: 700;
4line-height: initial;
5 font-weight: 700;
6color: #0e0e0e !important;
7}
8
9.desc {
10margin-top: 3px;
11line-height: 18px;
12color: #4e4e4e !important;
13}
14.date {
15 font-size: 12px;
16color: #444444;
17}
18.more {
19float: right;
20margin: 120px 5px 0 0;
21 width:32px;
22 height:60px;
23transform: rotate(135deg);
24 border-left: 5px solid #ffffff;
25 border-top: 5px solid #ffffff;
26 content: "";
27 display: block;
28 height: 13px;
29 width: 13px;
30}
31</style>
32
33<div class="row align-items-lg-start align-items-sm-start align-items-start align-items-md-start flex-lg-grow flex-sm-row flex-row flex-md-row">
34
35<#if entries?has_content>
36 <#list entries as curEntry>
37<#assign
38newstitle = curEntry.getTitle(locale)
39newssummary = curEntry.getSummary(locale)
40newsdate = curEntry.getPublishDate()?string["dd.MM.yyyy"]
41renderer = curEntry.getAssetRenderer()
42Article = renderer.getArticle() />
43<#if Article.getArticleImageURL(themeDisplay)??>
44<#assign image = Article.getArticleImageURL(themeDisplay)
45viewURL0 = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, curEntry)
46viewURL = renderer.getURLViewInContext(renderRequest, renderResponse, viewURL0) />
47<div class="col-lg-6 pl-3 pr-2 pb-3">
48
49<div class="row">
50
51
52
53<div class="col-xxl-4 col-xl-4 col-lg-5 col-md-6 col-sm-5 col-xs-12 my-auto pr-0" >
54<a href="${viewURL}" title='${newstitle}' area-label='${newstitle}'>
55<img class="img-fluid" src='${image}' alt="${newstitle}" />
56 </a>
57</div>
58
59
60<div class="col-xxl-8 col-xl-8 col-lg-7 col-md-6 col-sm-7 col-xs-12 pl-2 pr-0 bg-white">
61<a href="${viewURL}" title='${newstitle}' area-label='${newstitle}'>
62<div class="read-more"><div class="more"></div></div>
63<small><span class="date">${newsdate}</span></small>
64<div class="news-title"> <p>${curEntry.getTitle(locale)}</p> </div>
65<div class="desc"> ${curEntry.getSummary(locale)}</div>
66</a>
67</div>
68</div>
69</div>
70
71<#else>
72</#if>
73</#list>
74</#if>
75</div>