An error occurred while processing the template.
The following has evaluated to null or missing:
==> friendlyURLs[themeDisplay.getLanguageId()]  [in template "20116#20152#AVVISODETTAGLIO" at line 16, column 48]

----
Tip: It's the final [] step 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: #assign friendlyUrlReplace = friendly...  [in template "20116#20152#AVVISODETTAGLIO" at line 16, column 19]
----
1<#assign images_folder = themeDisplay.getPortalURL()+"/o/a-4-theme/images"> 
2 
3<div class="article-detail light-grey"> 
4    <div class="swiper-container"> 
5        <div class="swiper-wrapper"> 
6            <div class="swiper-slide"> 
7                <div class="swipe-background" style="background-image:url('${images_folder}/swiper/default-news-image.jpg')"> 
8                </div> 
9            </div> 
10        </div> 
11    </div> 
12 
13    <div class="container"> 
14        <div class="article-detail__content-wrapper"> 
15            <#if friendlyURLs?? > 
16          	  <#assign friendlyUrlReplace= friendlyURLs[themeDisplay.getLanguageId()]?replace('/w/', '/') /> 
17           	  <#assign friendlyUrlKeepBefore= friendlyUrlReplace?keep_before_last("/") /> 
18           		  <#if friendlyUrlKeepBefore?contains("/avvisi") == false> 
19           	 		<#assign  friendlyUrlKeepBefore = friendlyUrlKeepBefore+"/avvisi" /> 
20              </#if> 
21                 <div class="article-detail__back-wrapper"> 
22                    <a href="${friendlyUrlKeepBefore}"  class="article-detail__back"> 
23                    <i class="icon-solid icon-angle-left"></i>${languageUtil.get(locale, "avvisi.torna_indietro")} 
24                    </a> 
25                </div> 
26            </#if> 
27             
28            <div class="article-detail__title-wrapper"> 
29                <div class="article-detail__title color-primary"> 
30                    ${titolo.getData()} 
31                </div> 
32            </div> 
33            <div class="article-detail__main-content"> 
34                <div class="article-detail__content"> 
35                    ${testo.getData()} 
36                </div> 
37            </div> 
38        </div> 
39         
40    </div> 
41</div>