Nastala chyba počas spracovávania šablóny.
The following has evaluated to null or missing:
==> .vars['reserved-article-display-date']  [in template "20116#20152#31274" at line 13, column 40]

----
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: #assign displayDate = .vars["reserved...  [in template "20116#20152#31274" at line 13, column 17]
----
1<#setting locale=locale?string> 
2<#--Content example--> 
3<div class="xsection-content pb-4"> 
4	<#--Article Header--> 
5	<div class="xcol p-3"> 
6		<div class="xcol xcol-md-10 xcol-lg-9"> 
7			<div class="xcontent"> 
8				<h1 class="t-title-1 n">${title.getData()}</h1> 
9			</div> 
10		</div> 
11		<div class="xcol"> 
12			<div class="xcontent pv-3 pb-0"> 
13                <#assign displayDate = .vars['reserved-article-display-date'].data /> 
14             
15                <#--cretae date form string--> 
16                <#assign originalLocale = .locale> 
17                <#setting locale = localeUtil.getDefault()> 
18                <#assign displayDateObj = displayDate?datetime("EEE, d MMM yyyy HH:mm:ss Z") /> 
19                <#setting locale = originalLocale> 
20 
21                <time class="t-body tc-g">${displayDateObj?string('d')+". "+displayDateObj?string('MMMM')+" "+displayDateObj?string('yyyy')}</time> 
22			</div> 
23		</div> 
24	</div> 
25	<#--Content Block--> 
26	<div class="xcol xcontent-block pv-3"> 
27		<div class="xcol xcol-md-8"> 
28			<div class="xcontent ph-3"> 
29				<#if text.getData()?has_content> 
30					<p class="t-body">${text.getData()}</p> 
31				</#if> 
32			</div> 
33		</div> 
34	</div> 
35	<!--Media Gallery--> 
36    <#assign journalArticleId = .vars['reserved-article-id'].data/> 
37    <#assign instanceId = "gallery_" + "0000" + journalArticleId/> 
38     
39	<!-- vymazanie vsetkych preferences pre instanciu embedded portletu  --> 
40	<#assign ppu = objectUtil("com.liferay.portal.kernel.service.persistence.PortletPreferencesUtil") /> 
41	<#assign portletId = "com_liferay_document_library_web_portlet_IGDisplayPortlet_INSTANCE_"+instanceId> 
42	<#assign VOID = ppu.removeByPortletId(portletId)> 
43	 
44	<#if folderID?? && folderID.getData()?has_content> 
45		<#assign folder= folderID.getData()?keep_after("/")?keep_after("/")?keep_after("/")?keep_before("/")/> 
46		<#assign VOID = freeMarkerPortletPreferences.setValue("rootFolderId", folder)> 
47		<#assign VOID = freeMarkerPortletPreferences.setValue("displayStyle", "ddmTemplate_127133")> 
48		<#assign VOID = freeMarkerPortletPreferences.setValues("mimeTypes", ["image/bmp","image/gif","image/jpeg","image/pjpeg","image/png","image/svg+xml","image/tiff","image/x-citrix-jpeg","image/x-citrix-png","image/x-ms-bmp","image/x-png","image/x-tiff"])>		 
49		 
50		<@liferay_portlet["runtime"] 
51				defaultPreferences="${freeMarkerPortletPreferences}" 
52				portletProviderAction=portletProviderAction.VIEW				 
53				instanceId=instanceId 
54				portletName="com_liferay_document_library_web_portlet_IGDisplayPortlet" 
55		/> 
56		<#assign VOID = freeMarkerPortletPreferences.reset()> 
57	</#if>		 
58</div>