An error occurred while processing the template.
The following has evaluated to null or missing:
==> friendlyURLs[themeDisplay.getLanguageId()]  [in template "20116#20152#VIABILITADETTAGLIO" at line 19, 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#VIABILITADETTAGLIO" at line 19, column 19]
----
1<#assign images_folder = themeDisplay.getPortalURL()+"/o/a-4-theme/images"> 
2 
3<div class="project-detail light-grey"> 
4     
5    <div class="swiper-container"> 
6        <div class="swiper-wrapper"> 
7            <div class="swiper-slide"> 
8                <div class="swipe-background" style="background-image:url('${images_folder}/swiper/default-news-image.jpg')"> 
9                </div> 
10            </div> 
11        </div> 
12    </div> 
13 
14    <div class="container"> 
15         
16        <div class="project-detail__content-wrapper"> 
17            <#if friendlyURLs?? > 
18                <div class="project-detail__back-wrapper"> 
19          	  <#assign friendlyUrlReplace= friendlyURLs[themeDisplay.getLanguageId()]?replace('/w/', '/') /> 
20           	  <#assign friendlyUrlKeepBefore= friendlyUrlReplace?keep_before_last("/") /> 
21           		  <#if friendlyUrlKeepBefore?contains("/avvisi") == false> 
22           	 		<#assign  friendlyUrlKeepBefore = friendlyUrlKeepBefore+"/notizie-viabilita" /> 
23              </#if> 
24<#-- TO-DO: Review contenuti ex seo plugin --> 
25                    <a href="${friendlyUrlKeepBefore!""}" class="project-detail__back"> 
26                       <i class="icon-solid icon-angle-left"></i>${languageUtil.get(locale, "viabilita.torna_indietro")} 
27                    </a> 
28                </div> 
29            </#if> 
30            <div class="project-detail__title-wrapper"> 
31                <div class="project-detail__title color-primary"> 
32                    ${titolo.getData()} 
33                </div> 
34 
35            </div> 
36            <div class="project-detail__main-content"> 
37                <div class="project-detail__content"> 
38                    <div class="row"> 
39                        <div class="col-md-12"> 
40                            ${testo.getData()} 
41                        </div> 
42                    </div> 
43                </div> 
44            </div> 
45        </div> 
46    </div> 
47</div>