Resuelve tus dudas

null ¡Todo lo que tenés que saber de los SMS y MIN Decreto que tenés en tu línea!
Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing:
==> dataLayerLinksBox  [in template "2233237#2233283#54631" at line 77, column 162]

----
Tip: If the failing expression is known to be 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: ${dataLayerLinksBox.getData()}  [in template "2233237#2233283#54631" at line 77, column 160]
----
1<#-- 
2 Last update: 11/09/2020 
3 Author: VASS 
4  
5 23/09/2019: Aplicado h2 a titulo 
6 11/09/2020: Se agrega datalayer para editar desde el CMS 
7 --> 
8 
9<#function getDisplayStyle display> 
10    <#if display == "button"> 
11        <#assign cssClass = "btn btn-white-red"> 
12    <#else> 
13        <#assign cssClass = "link link-item f-red"> 
14    </#if> 
15 
16    <#return cssClass> 
17</#function> 
18 
19 
20<#assign color = ""> 
21<#if selectColor?has_content> 
22    <#assign color = selectColor.getData()> 
23</#if> 
24 
25<style> 
26    .box-green-flex{ 
27        display: flex !important; 
28        height: 450px !important; 
29        flex-flow: column !important; 
30        justify-content: center !important; 
31
32    .box-green-flex .title{ 
33        width: 100% !important; 
34        text-align: center !important; 
35        margin-bottom: 35px !important; 
36
37    .box-green-flex .btn-white-red{ 
38        width: 100% !important; 
39
40</style> 
41 
42<#-- Desktop version --> 
43<div class="d-none d-lg-block section-link-box row section-separator-big separator-big-b"> 
44    <div class="container container-section"> 
45         <article> 
46            <div class="links-box ${color} box-green-flex-2"> 
47                <h2 class="title">${title.getData()}</h2> 
48                <div class="links clearfix"> 
49                    <#if linkText.getSiblings()?has_content> 
50                        <#list linkText.getSiblings() as cur_linkText> 
51                         
52                            <#if cur_linkText.extLink.getData()?has_content> 
53                                <!--externo --> 
54                                <#assign url = cur_linkText.extLink.getData()> 
55                            <#elseif cur_linkText.pageLink.getFriendlyUrl()?has_content> 
56                                <!--page --> 
57                                <#assign url = cur_linkText.pageLink.getFriendlyUrl()> 
58                        <#elseif cur_linkText.contentLink?has_content> 
59                                <#assign contentData = jsonFactoryUtil.createJSONObject(cur_linkText.contentLink.getData())>                         
60                                <#assign JournalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")> 
61                                <#assign FriendlyURLEntryLocalService = serviceLocator.findService("com.liferay.friendly.url.service.FriendlyURLEntryLocalService")> 
62                                <#assign calssPKa = contentData.classPK?number> 
63                                <#assign calssNamea = "com.liferay.journal.model.JournalArticle"> 
64                                <#assign calssid = portalUtil.getClassNameId(calssNamea)> 
65                                <#assign url = themeDisplay.getPortalURL() 
66                                            +propsUtil.get("layout.friendly.url.public.servlet.mapping") 
67                                            +themeDisplay.getScopeGroup().getFriendlyURL()+"/-/"+FriendlyURLEntryLocalService.getMainFriendlyURLEntry(calssid, calssPKa).getUrlTitle()> 
68                            <#else> 
69                                <!--nope --> 
70                                <#assign url = ''> 
71                            </#if> 
72                        	<#if dataLayerLinksBox?has_content> 
73	                            <a class="${getDisplayStyle(cur_linkText.display.getData())}" class="${cur_linkText.display.getData()}" href="${url}" onclick="${dataLayerLinksBox.getData()};"> 
74	                                ${cur_linkText.getData()}  
75	                            </a> 
76                            <#else> 
77                            	<a class="${getDisplayStyle(cur_linkText.display.getData())}" class="${cur_linkText.display.getData()}" href="${url}" onclick="${dataLayerLinksBox.getData()};"> 
78	                                ${cur_linkText.getData()}  
79	                            </a> 
80                            </#if> 
81                        </#list> 
82                    </#if> 
83                </div> 
84            </div> 
85        </article> 
86    </div> 
87</div> 
88 
89<#-- Mobile version --> 
90 
91<#if mobile??> 
92    <#assign mobileLinkElem = mobile.mobileButton.buttonPageLink> 
93    <#assign mLink = "#"> 
94    <#if mobileLinkElem?? && mobileLinkElem.getFriendlyUrl()?has_content> 
95        <#assign mLink = mobileLinkElem.getFriendlyUrl()> 
96    </#if> 
97 
98    <#if mobile.mobileText?? && mobile.mobileText.getData()?has_content> 
99        <#assign mText = mobile.mobileText.getData()> 
100    </#if> 
101 
102    <#assign mButton = ""> 
103    <#if mobile.mobileButton?? && mobile.mobileButton.getData()?has_content> 
104        <#assign mButton = mobile.mobileButton.getData()> 
105    </#if> 
106 
107    <div class="d-lg-none section-link-box mobile row"> 
108        <div class="container container-section"> 
109            <div class="links-box ${color} "> 
110                <p> 
111                <#if mText?has_content> 
112                ${mText} 
113                </#if> 
114                 
115                </p> 
116                <div class="links clearfix"> 
117                	<#if dataLayerLinksBox?has_content> 
118	                    <a class="btn btn-white-red" href="${mLink}"  onclick="${dataLayerLinksBox.getData()};"> 
119	                        ${mButton} 
120	                    </a> 
121	                <#else> 
122	                	<a class="btn btn-white-red" href="${mLink}"  onclick=""> 
123	                        ${mButton} 
124	                    </a> 
125                    </#if> 
126                </div> 
127            </div> 
128        </div> 
129    </div> 
130</#if>