حصل خطأ عند معالجة القالب.
The following has evaluated to null or missing:
==> innerVideo  [in template "20097#20123#37303" at line 81, column 6]

----
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: #if innerVideo.getSiblings()?has_content  [in template "20097#20123#37303" at line 81, column 1]
----
1<#-- Retrieve the published date meta data field of the web content --> 
2<#assign displaydate = .vars['reserved-article-display-date'].data> 
3<#-- Save the original page locale for later --> 
4<#assign originalLocale = .locale> 
5 
6<#-- Set the page locale to the portals default locale --> 
7<#setting locale = localeUtil.getDefault()> 
8 
9<#-- Parse the date to a date object --> 
10<#assign displaydate = displaydate?datetime("EEE, d MMM yyyy HH:mm:ss Z")> 
11 
12<#-- Set the page locale back to the original page locale --> 
13<#--#assign locale = ''--> 
14<#assign dateFormat = "dd MM yyyy" />  
15<#assign publishDate=dateUtil.getDate(displaydate,dateFormat,locale)/> 
16 
17 
18<!--publish view Count--> 
19<#assign JournalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")> 
20 <#assign assetLinkLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetLinkLocalService" )> 
21 <#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService" )> 
22 <#assign getterUtil = staticUtil["com.liferay.portal.kernel.util.GetterUtil"] /> 
23 <#assign currentArticle = JournalArticleLocalService.getArticle(getterUtil.getLong(groupId),.vars['reserved-article-id'].data)> 
24 <#assign currentArticleResourcePrimKey = currentArticle.getResourcePrimKey()> 
25 <#assign currentArticleAssetEntry = assetEntryLocalService.getEntry("com.liferay.journal.model.JournalArticle", currentArticleResourcePrimKey)/> 
26 <#assign viewCount = currentArticleAssetEntry.viewCount/> 
27 
28<div class="main-new-content"> 
29    <div class="header"> 
30        <div class="date--view"> 
31            <div class="date"> 
32                <span class="icon-calander"><span class="path1"></span><span class="path2"></span></span> 
33                <span class="main-c" id="id-12-${.vars['reserved-article-id'].data}"></span> 
34                <script> 
35                    //date 
36                    var lang = document.getElementsByTagName("html")[0].getAttribute("lang"); 
37                    var date_element = document.getElementById("id-12-${.vars['reserved-article-id'].data}"); 
38                    if( lang == "fa-IR"){ 
39                        date_element.innerHTML = 
40                        moment('${publishDate}', 'DD MM YYYY') 
41                        .locale('fa') 
42                        .format('dddd DD MMMM YYYY'); 
43                    }else if (lang == "ar-SA") { 
44                        date_element.innerHTML = 
45                        moment('${publishDate}', 'DD MM YYYY') 
46                        .locale('ar') 
47                        .format('dddd DD / MM / YYYY'); 
48                    }else if (lang == "en-US") { 
49                        date_element.innerHTML = 
50                        moment('${publishDate}', 'DD MM YYYY') 
51                        .locale('en') 
52                        .format('dddd DD MMMM YYYY'); 
53
54                    date_element.setAttribute("id", ""); 
55                </script> 
56            </div> 
57            <div class="view hide"> 
58                <span class="icon-view"><span class="path1"></span><span class="path2"></span></span> 
59                <span class="main-c"></span> 
60            </div> 
61        </div> 
62        <#if lead?? && lead.getData() !=""> 
63            <h5 class="lead"> 
64                ${lead.getData()} 
65            </h5> 
66        </#if> 
67        <a href="${friendlyURLs[themeDisplay.getLanguageId()]!""}"> 
68        <h3 class="title" id="title-sharing"> 
69            ${.vars['reserved-article-title'].data} 
70        </h3> 
71        </a> 
72    </div> 
73</div> 
74<div> 
75${lead.getData()} 
76</div><div> 
77${author.getData()} 
78</div><div>${content.getData()} 
79</div> 
80<div class="col"> 
81<#if innerVideo.getSiblings()?has_content> 
82	  <link href="/o/shahrdari-yazd-theme/css/video-js.min.css" rel="stylesheet" /> 
83 
84	<#list innerVideo.getSiblings() as cur_innerVideo> 
85 
86    	<video controls class="video-js"> 
87          <source src="${cur_innerVideo.getData()}" type="video/mp4"> 
88        </video> 
89	</#list> 
90	  <script src="/o/shahrdari-yazd-theme/js/video.min.js"></script> 
91      <script> 
92      videojs( 
93        document.querySelector('.video-js'), { 
94          autoplay: false, 
95          controls: true, 
96          fluid: true 
97        }); 
98      </script> 
99</#if> 
100</div> 
101<div> 
102${innerVideo.innerContent.getData()} 
103</div> 
104 
105<div> 
106<#if simpeImages?? && simpeImages.getSiblings()?has_content> 
107	<#list simpeImages.getSiblings() as cur_simpeImages> 
108		<#if (cur_simpeImages.getData())?? && cur_simpeImages.getData() != ""> 
109			<img alt="${cur_simpeImages.getAttribute("alt")}" data-fileentryid="${cur_simpeImages.getAttribute("fileEntryId")}" src="${cur_simpeImages.getData()}" /> 
110		</#if> 
111	</#list> 
112</#if> 
113</div> 
114<div> 
115<#if images?? && images.getSiblings()?has_content> 
116	<#list images.getSiblings() as cur_images> 
117		<#if (cur_images.getData())?? && cur_images.getData() != ""> 
118			<img alt="${cur_images.getAttribute("alt")}" data-fileentryid="${cur_images.getAttribute("fileEntryId")}" src="${cur_images.getData()}" /> 
119		</#if> 
120	</#list> 
121</#if> 
122</div> 
123<style> 
124.main-new-content { 
125  /*max-width: 925px;*/ 
126  margin: auto; 
127
128.video-js .vjs-big-play-button { 
129    left: 50%; 
130    right: auto; 
131    margin-left: -1.5em; 
132    margin-top: -0.81666em; 
133    top: 50%; 
134
135.video-js .vjs-big-play-button .vjs-icon-placeholder:before,.video-js .vjs-play-control .vjs-icon-placeholder:before,.vjs-icon-play:before { 
136    content: "\f04b "; 
137    font-family: 'FontAwesome'; 
138
139/* url */ 
140.main-new-content .url-box { 
141    margin: 1.5em 0 2em; 
142
143 
144.main-new-content .url-box input { 
145    position: absolute; 
146    visibility: hidden; 
147    opacity: 0; 
148
149 
150.main-new-content .url-box .btn-box button{ 
151    background: #2356ae; 
152    color: #FFF; 
153    padding: 0.55em 1.6em; 
154    border: 0; 
155    border-radius: 0.5em; 
156
157 
158.main-new-content .url-box .btn-box { 
159  position: relative; 
160  display: inline-block; 
161
162 
163.main-new-content .url-box .btn-box .tooltiptext { 
164  visibility: hidden; 
165    width: 140px; 
166    background-color: #555; 
167    color: #ffffff; 
168    text-align: center; 
169    border-radius: 6px; 
170    padding: 5px; 
171    position: absolute; 
172    z-index: 1; 
173    bottom: 150%; 
174    left: 50%; 
175    margin-left: -75px; 
176    opacity: 0; 
177    transition: opacity 0.3s; 
178
179 
180.main-new-content .url-box .btn-box .tooltiptext::after { 
181  content: ""; 
182  position: absolute; 
183  top: 100%; 
184  left: 50%; 
185  margin-left: -5px; 
186  border-width: 5px; 
187  border-style: solid; 
188  border-color: #555 transparent transparent transparent; 
189
190 
191.main-new-content .url-box .btn-box:hover .tooltiptext { 
192  visibility: visible; 
193  opacity: 1; 
194
195/* url */ 
196 
197 
198.main-new-content .tags { 
199    margin: 1.5em 0 1em 0; 
200
201 
202.main-new-content .tags h4 { 
203    color: #223a70; 
204
205 
206.main-new-content .header { 
207  width: 100%; 
208  display: flex; 
209  flex-direction: column; 
210
211.main-new-content .header .img-header {  
212    position: relative; 
213
214.main-new-content .header .img-header:before { 
215    content: ""; 
216    position: absolute; 
217    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)); 
218    border-radius: 10px; 
219    left: 0; 
220    right: 0; 
221    height: 100%; 
222    width: 100%; 
223
224.main-new-content .header .img-header img { 
225  width: 100%; 
226  border-radius: 0.5em; 
227  /*box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);*/ 
228
229.main-new-content .header .date--view { 
230  display: flex; 
231  justify-content: flex-end; 
232  margin-top: 0.5em; 
233  //margin-top: -2.7em; 
234  color: #223A70; 
235
236.main-new-content .header .date--view .date, 
237.main-new-content .header .date--view .view { 
238  font-size: 0.8em; 
239   
240
241.main-new-content .header .date--view .date .main-c { 
242    position: relative; 
243    top: -0.2em; 
244
245.main-new-content .header .tools { 
246  display: flex; 
247  margin-bottom: 0.7em; 
248  justify-content: flex-end; 
249
250.main-new-content .header .tools > div { 
251  cursor: pointer; 
252
253html.ltr .main-new-content .header .tools > div + div { 
254  margin-left: 1.5em; 
255
256html.rtl .main-new-content .header .tools > div + div { 
257  margin-right: 1.5em; 
258
259.main-new-content .header .tools > div:hover::before { 
260  color: #1b51b0; 
261
262.main-new-content .header .tools > div::before { 
263  font-size: 1.3em; 
264  transition: all ease-in-out 0.2s; 
265
266.main-new-content .header .tools .razi-icon-share { 
267  position: relative; 
268  padding-bottom: 0.8em; 
269
270.main-new-content .header .tools .razi-icon-print:before { 
271    color: #223A70; 
272
273.main-new-content .header .tools .razi-icon-share:hover .share-box { 
274  opacity: 1; 
275  visibility: visible; 
276
277.main-new-content .header .tools .razi-icon-share .share-box { 
278  display: flex; 
279  align-items: center; 
280  position: absolute; 
281  right: 0; 
282  top: calc(100%); 
283  border-radius: 0.5em; 
284  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
285  padding: 0.5em; 
286  z-index: 1; 
287  background: white; 
288  opacity: 0; 
289  visibility: collapse; 
290  transition: all ease-in-out 0.2s; 
291
292html.rtl .main-new-content .header .tools .razi-icon-share .share-box { 
293  right: unset; 
294  left: 0; 
295
296.main-new-content .header .tools .razi-icon-share .share-box a:hover img { 
297  transform: scale(1.1); 
298
299html.ltr .main-new-content .header .tools .razi-icon-share .share-box a + a { 
300  margin-left: 0.7em; 
301
302html.rtl .main-new-content .header .tools .razi-icon-share .share-box a + a { 
303  margin-right: 0.7em; 
304
305.main-new-content .header .tools .razi-icon-share .share-box a img { 
306  transition: all ease-in-out 0.2s; 
307  width: 1.8em; 
308  height: 1.8em; 
309
310.main-new-content .header h3 { 
311  font-size: 1.2em; 
312  margin: 0 0 1.93em 0; 
313  margin-bottom: 0.5em; 
314  color: #223A70; 
315  line-height: 1.8em; 
316
317.main-new-content .header .lead { 
318  font-size: 1.1em; 
319  margin: 1em 0 0 0; 
320  color: #726E6E; 
321  line-height: 1.8em; 
322
323.main-new-content .body p { 
324    margin: 1em 0; 
325    color: #726E6E; 
326    font-size: 1em; 
327    line-height: 2.18em; 
328
329.rtl .main-new-content .body p * { 
330    font-family: 'IRANSansFaNum' !important; 
331
332html.rtl .main-new-content .body .bold-img { 
333    float:left; 
334    margin-right:1.5em; 
335
336html.ltr .main-new-content .body .bold-img { 
337    float:right; 
338    margin-left:1.5em; 
339
340.main-new-content .body .bold-img { 
341  width: 25em; 
342  border-radius: 0.5em; 
343  //border: 2px solid #223a70; 
344
345.main-new-content .body img:not(.bold-img) { 
346  margin: 1em 0; 
347  border-radius: 0.5em; 
348  max-width: 100%; 
349
350.main-new-content .body .parent-video { 
351    text-align:center; 
352
353.main-new-content .body .parent-video video { 
354    max-width:100%; 
355    margin: 1em 0; 
356
357 
358.main-new-content .body .slide-show { 
359    max-width:100%; 
360    margin: 1em 0; 
361
362.main-new-content .body .slide-show .secondary-slider { 
363    margin-top: 0.7em; 
364
365.main-new-content .body .slide-show .secondary-slider .splide__slide  { 
366    border-radius: 0.5em; 
367    border: 2px solid #FFF; 
368
369.main-new-content .body .slide-show .secondary-slider .splide__slide.is-active { 
370    border-color: #1b51b0; 
371
372.main-new-content .body .slide-show .secondary-slider .splide__slide img  { 
373    width:100%; 
374    height:3.75em; 
375    object-fit: cover; 
376
377.main-new-content .body .slide-show .primary-slider .splide__track  { 
378    padding: 2px 0; 
379
380.main-new-content .body .slide-show .primary-slider .splide__track .splide__slide  { 
381    border-radius: 0.5em; 
382    border: 2px solid #1b51b0; 
383
384.main-new-content .body .slide-show .secondary-slider .splide__arrow { 
385    background: transparent; 
386    opacity: 1; 
387
388.main-new-content .body .slide-show .secondary-slider .splide__arrow > span { 
389    font-size: 1.7em; 
390
391 
392@media print { 
393    .footer, 
394    .razi-navbar, 
395    .main-new-content .header .tools, 
396    .dispaly-page-news, 
397    .parent-portlet-page-comments, 
398    .parent-breadcrumb { 
399        display: none !important; 
400
401
402@media only screen and (max-width: 768px) { 
403  .main-new-content { 
404    font-size: 14px; 
405
406  .main-new-content .header { 
407    flex-direction: row; 
408    flex-wrap: wrap; 
409
410  .main-new-content .header > img { 
411    order: 1; 
412    width: 100%; 
413    margin-top: 1.8em; 
414
415  .main-new-content .header > h3 { 
416    order: 4; 
417    margin-top: 0.7em; 
418
419  .main-new-content .header .date--view { 
420    order: 1; 
421    flex-grow: 1; 
422    margin-top: 1.6em; 
423    font-size: 16px; 
424
425  /*html.ltr .main-new-content .header .date--view { 
426    margin-right: 5em; 
427
428  html.rtl .main-new-content .header .date--view { 
429    margin-left: 5em; 
430  }*/ 
431  .main-new-content .header .tools { 
432    order: 2; 
433    margin-top: 1.6em; 
434
435  .main-new-content .header .tools .razi-icon-print { 
436    display: none; 
437
438  .main-new-content .header .lead { 
439    width: 100%; 
440    order: 3; 
441
442
443@media only screen and (max-width: 576px) { 
444  .main-new-content { 
445    font-size: 13px; 
446
447  .main-new-content .header > img { 
448    min-height: 176px; 
449
450  .main-new-content .header .date--view { 
451    font-size: 14px; 
452    /*margin-right: 2em;*/ 
453
454 
455  .main-new-content .body p { 
456    margin: 1em 0; 
457    font-size: 1em; 
458
459  .main-new-content .body img { 
460    width: 100%; 
461
462
463</style>