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

----
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#PROGETTODETTAGLIO" at line 38, column 15]
----
1<#assign images_folder = themeDisplay.getPortalURL()+"/o/a-4-theme/images"> 
2 
3<div class="project-detail light-grey"> 
4    <#if immagine?? && immagine.getData() != '' > 
5        <div class="swiper-container"> 
6            <div class="swiper-wrapper"> 
7                <div class="swiper-slide"> 
8                    <div class="swipe-background" style="background-image:url('${immagine.getData()}')"> 
9                    </div> 
10                </div> 
11            </div> 
12        </div> 
13   <#else> 
14       <div class="swiper-container"> 
15           <div class="swiper-wrapper"> 
16               <div class="swiper-slide"> 
17                   <div class="swipe-background" style="background-image:url('${images_folder}/swiper/default-news-image.jpg')"> 
18                   </div> 
19               </div> 
20           </div> 
21       </div> 
22   </#if> 
23 
24    <div class="container"> 
25        <#-- 
26            Versione senza img di copertina 
27        --> 
28 
29        <#-- 
30        <#if immagine.getData()?? > 
31            <div class="project-detail__content-wrapper"> 
32        <#else> 
33            <div class="project-detail__content-wrapper project-detail__content-wrapper--no-image"> 
34        </#if> 
35        --> 
36        <div class="project-detail__content-wrapper"> 
37            <#if friendlyURLs?? > 
38              <#assign friendlyUrlReplace= friendlyURLs[themeDisplay.getLanguageId()]?replace('/w/', '/') /> 
39           	  <#assign friendlyUrlKeepBefore= friendlyUrlReplace?keep_before_last("/") /> 
40           		  <#if friendlyUrlKeepBefore?contains("/progetti") == false> 
41           	 		<#assign  friendlyUrlKeepBefore = friendlyUrlKeepBefore+"/progetti" /> 
42              </#if> 
43                <div class="project-detail__back-wrapper"> 
44                    <a href="${friendlyUrlKeepBefore}" class="project-detail__back"> 
45                       <i class="icon-solid icon-angle-left"></i><!-- 
46                       -->${languageUtil.get(locale, "progetti.torna_indietro")} 
47                    </a> 
48                </div> 
49            </#if> 
50            <div class="project-detail__title-wrapper"> 
51                <div class="project-detail__title color-primary"> 
52                    ${titolo.getData()} 
53                </div> 
54 
55            </div> 
56            <div class="project-detail__main-content"> 
57                <div class="project-detail__content"> 
58                    <div class="row"> 
59                        <#if galleria?? && galleria.getSiblings()?has_content && validator.isNotNull((galleria.getSiblings()?first).getData())> 
60                            <div class="col-md-8"> 
61                                ${testo.getData()} 
62                            </div> 
63                            <div class="col-md-4"> 
64                                <div class="project-detail__image-list"> 
65                                    <#list galleria.getSiblings() as cur_galleria> 
66                                        <#if cur_galleria.getData()?? && cur_galleria.getData() != ""> 
67                                            <a href="${cur_galleria.getData()}" 
68                                               data-fancybox="galleria" 
69                                               data-caption="${cur_galleria.getAttribute("alt")}"> 
70                                                <img class="project-detail__image img-responsive" 
71                                                     src="${cur_galleria.getData()}" 
72                                                     alt="${cur_galleria.getAttribute("alt")}"> 
73                                            </a> 
74                                         </#if> 
75                                    </#list> 
76                                </div> 
77                            </div> 
78                        <#else> 
79                            <div class="col-md-12"> 
80                                ${testo.getData()} 
81                            </div> 
82                        </#if> 
83                    </div> 
84                </div> 
85            </div> 
86        </div> 
87    </div> 
88</div>