An error occurred while processing the template.
The following has evaluated to null or missing: ==> bgColor [in template "20116#20152#109150" at line 1, column 26] ---- 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 selectedColor = bgColor.getDa... [in template "20116#20152#109150" at line 1, column 1] ----
1<#assign selectedColor = bgColor.getData() />
2<#assign selectedColor = selectedColor?remove_beginning('["')?remove_ending('"]') />
3<#assign isVertical = getterUtil.getBoolean(showVertically.getData()) />
4
5<div class="lift-with-image <#if isVertical>vertical d-sm-flex</#if> bg-${selectedColor}">
6 <#if Image.getData()?? && Image.getData() != "">
7 <div class="<#if isVertical>col-sm p-0 image-container</#if>">
8 <a href="${Url.getData()}" title="${Title.getData()}" class="title d-block">
9 <img data-fileentryid="${Image.getAttribute("fileEntryId")}" alt="${Image.getAttribute("alt")}" src="${Image.getData()}" />
10 </a>
11 </div>
12 </#if>
13 <div class="<#if isVertical>col-sm p-0</#if>">
14 <div class="content <#if isVertical>p-4<#else>p-4 p-sm-3</#if>">
15 <a href="${Url.getData()}" title="${Title.getData()}" class="title mb-3 d-block">
16 ${Title.getData()}
17 </a>
18 ${Content.getData()}
19 </div>
20 </div>
21</div>