Aktuality - Tiskový servis

Aktuality

Při zpracování šablony došlo k chybě.
The following has evaluated to null or missing:
==> macros.printClanekAsArticlePreviewListItem  [in template "20097#20123#317821" at line 9, column 15]

----
Tip: It's the step after the last dot that caused this error, not those before it.
----
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: @macros.printClanekAsArticlePreviewLi...  [in template "20097#20123#317821" at line 9, column 13]
----
1<#include "${templatesPath}/COMMON_SETUP" /> 
2 
3<#if entries?has_content> 
4    <#-- Na prvej stranke zobrazujeme pripnute clanky, takze len tam nebudeme taketo clanky zobrazovat v sezname --> 
5    <#assign doNotShowIfPinned = macros.getPageNumber() == 1 /> 
6    <#assign clankyData = macros.prepareDataClankyFromEntries(entries) /> 
7    <ul class="bno-list--plain"> 
8        <#list clankyData as clanekData> 
9            <@macros.printClanekAsArticlePreviewListItem 
10                data=clanekData 
11                perexLength=0 
12                doNotShowIfPinned=doNotShowIfPinned 
13                imageWidth=200 
14                imageHeight=100 
15                id=("clanek-" + (clanekData?index + 1)) 
16            /> 
17        </#list> 
18    </ul> 
19</#if> 

Metropolitan