WHAT’S ON TRACK
For dates of drive, drag, drift, passenger experiences and our popular venue tour, go to the Experiences tab, select your choice and Book Now.
From world-class racing events to community fitness sessions and high-octane driving experiences, Yas Marina Circuit is always alive with action. Whether you're chasing speed on the track, training under the lights, or enjoying a fun day out with friends and family—there’s something for everyone, every week, at the home of motorsport in Abu Dhabi.
ALL
An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator [in template "20095#20121#3433961" at line 13, column 30]
----
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 vocabLocalService = serviceLo... [in template "20095#20121#3433961" at line 13, column 1]
---- 1<#-- Image --> 2 <div class="h-overflow"> 3 <#if (cardInfo.Image41824325.getData())?? && cardInfo.Image41824325.getData() !=""> 4 <img 5 class="w-100" 6 alt="${cardInfo.Image41824325.getAttribute("alt")}" 7 src="${cardInfo.Image41824325.getData()}" /> 8 </#if> 9 </div> 10 11<#assign articleId = .vars['reserved-article-id'].data /> 12<#assign vocabLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") /> 13<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 14<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 15<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(scopeGroupId), articleId) /> 16<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey) /> 17 18 19<#assign vocab = "Whats On Filter" /> 20 21 22<#list asset.getCategories() as category> 23 <#assign vocabName = vocabLocalService.getVocabulary(category.vocabularyId).getTitle("en_US") /> 24 <#if vocabName == vocab> 25 <#assign EntityName = category.getTitle(themeDisplay.getLocale()) /> 26 </#if> 27</#list> 28<div class="woc-details"> 29<#if EntityName??> 30 <p class="White-tag-line"> ${EntityName}</p> 31</#if> 32 33 34 35 <#-- Title --> 36 <h4> 37 <#if (cardInfo.Title.getData())??> 38 ${cardInfo.Title.getData()} 39 </#if> 40 </h4> 41 <#if (cardInfo.TitleBelowText.getData())??> 42 <h5 class="">${cardInfo.TitleBelowText.getData()} </h5> 43 </#if> 44 45 <#if (cardInfo.LinkToPage1.getFriendlyUrl())??> 46 <a data-senna-off="true" href="${cardInfo.LinkToPage1.getFriendlyUrl()}" class="discover-more-cm-btn green-border"> 47 DISCOVER MORE 48 </a> 49 </#if> 50</div> 51 52 53<style> 54 .whats-on-card img { width: 100%;} 55 56 @media(max-width:767px) { 57 58 .whats-on-card img { 59 object-fit: cover; 60 height: auto; 61 62 } 63 64 .whats-on-card { 65 padding: 10px; 66 } 67 } 68</style> An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator [in template "20095#20121#3433961" at line 13, column 30]
----
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 vocabLocalService = serviceLo... [in template "20095#20121#3433961" at line 13, column 1]
---- 1<#-- Image --> 2 <div class="h-overflow"> 3 <#if (cardInfo.Image41824325.getData())?? && cardInfo.Image41824325.getData() !=""> 4 <img 5 class="w-100" 6 alt="${cardInfo.Image41824325.getAttribute("alt")}" 7 src="${cardInfo.Image41824325.getData()}" /> 8 </#if> 9 </div> 10 11<#assign articleId = .vars['reserved-article-id'].data /> 12<#assign vocabLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") /> 13<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 14<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 15<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(scopeGroupId), articleId) /> 16<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey) /> 17 18 19<#assign vocab = "Whats On Filter" /> 20 21 22<#list asset.getCategories() as category> 23 <#assign vocabName = vocabLocalService.getVocabulary(category.vocabularyId).getTitle("en_US") /> 24 <#if vocabName == vocab> 25 <#assign EntityName = category.getTitle(themeDisplay.getLocale()) /> 26 </#if> 27</#list> 28<div class="woc-details"> 29<#if EntityName??> 30 <p class="White-tag-line"> ${EntityName}</p> 31</#if> 32 33 34 35 <#-- Title --> 36 <h4> 37 <#if (cardInfo.Title.getData())??> 38 ${cardInfo.Title.getData()} 39 </#if> 40 </h4> 41 <#if (cardInfo.TitleBelowText.getData())??> 42 <h5 class="">${cardInfo.TitleBelowText.getData()} </h5> 43 </#if> 44 45 <#if (cardInfo.LinkToPage1.getFriendlyUrl())??> 46 <a data-senna-off="true" href="${cardInfo.LinkToPage1.getFriendlyUrl()}" class="discover-more-cm-btn green-border"> 47 DISCOVER MORE 48 </a> 49 </#if> 50</div> 51 52 53<style> 54 .whats-on-card img { width: 100%;} 55 56 @media(max-width:767px) { 57 58 .whats-on-card img { 59 object-fit: cover; 60 height: auto; 61 62 } 63 64 .whats-on-card { 65 padding: 10px; 66 } 67 } 68</style> An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator [in template "20095#20121#3433961" at line 13, column 30]
----
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 vocabLocalService = serviceLo... [in template "20095#20121#3433961" at line 13, column 1]
---- 1<#-- Image --> 2 <div class="h-overflow"> 3 <#if (cardInfo.Image41824325.getData())?? && cardInfo.Image41824325.getData() !=""> 4 <img 5 class="w-100" 6 alt="${cardInfo.Image41824325.getAttribute("alt")}" 7 src="${cardInfo.Image41824325.getData()}" /> 8 </#if> 9 </div> 10 11<#assign articleId = .vars['reserved-article-id'].data /> 12<#assign vocabLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") /> 13<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 14<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 15<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(scopeGroupId), articleId) /> 16<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey) /> 17 18 19<#assign vocab = "Whats On Filter" /> 20 21 22<#list asset.getCategories() as category> 23 <#assign vocabName = vocabLocalService.getVocabulary(category.vocabularyId).getTitle("en_US") /> 24 <#if vocabName == vocab> 25 <#assign EntityName = category.getTitle(themeDisplay.getLocale()) /> 26 </#if> 27</#list> 28<div class="woc-details"> 29<#if EntityName??> 30 <p class="White-tag-line"> ${EntityName}</p> 31</#if> 32 33 34 35 <#-- Title --> 36 <h4> 37 <#if (cardInfo.Title.getData())??> 38 ${cardInfo.Title.getData()} 39 </#if> 40 </h4> 41 <#if (cardInfo.TitleBelowText.getData())??> 42 <h5 class="">${cardInfo.TitleBelowText.getData()} </h5> 43 </#if> 44 45 <#if (cardInfo.LinkToPage1.getFriendlyUrl())??> 46 <a data-senna-off="true" href="${cardInfo.LinkToPage1.getFriendlyUrl()}" class="discover-more-cm-btn green-border"> 47 DISCOVER MORE 48 </a> 49 </#if> 50</div> 51 52 53<style> 54 .whats-on-card img { width: 100%;} 55 56 @media(max-width:767px) { 57 58 .whats-on-card img { 59 object-fit: cover; 60 height: auto; 61 62 } 63 64 .whats-on-card { 65 padding: 10px; 66 } 67 } 68</style> An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator [in template "20095#20121#3433961" at line 13, column 30]
----
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 vocabLocalService = serviceLo... [in template "20095#20121#3433961" at line 13, column 1]
---- 1<#-- Image --> 2 <div class="h-overflow"> 3 <#if (cardInfo.Image41824325.getData())?? && cardInfo.Image41824325.getData() !=""> 4 <img 5 class="w-100" 6 alt="${cardInfo.Image41824325.getAttribute("alt")}" 7 src="${cardInfo.Image41824325.getData()}" /> 8 </#if> 9 </div> 10 11<#assign articleId = .vars['reserved-article-id'].data /> 12<#assign vocabLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") /> 13<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 14<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 15<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(scopeGroupId), articleId) /> 16<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey) /> 17 18 19<#assign vocab = "Whats On Filter" /> 20 21 22<#list asset.getCategories() as category> 23 <#assign vocabName = vocabLocalService.getVocabulary(category.vocabularyId).getTitle("en_US") /> 24 <#if vocabName == vocab> 25 <#assign EntityName = category.getTitle(themeDisplay.getLocale()) /> 26 </#if> 27</#list> 28<div class="woc-details"> 29<#if EntityName??> 30 <p class="White-tag-line"> ${EntityName}</p> 31</#if> 32 33 34 35 <#-- Title --> 36 <h4> 37 <#if (cardInfo.Title.getData())??> 38 ${cardInfo.Title.getData()} 39 </#if> 40 </h4> 41 <#if (cardInfo.TitleBelowText.getData())??> 42 <h5 class="">${cardInfo.TitleBelowText.getData()} </h5> 43 </#if> 44 45 <#if (cardInfo.LinkToPage1.getFriendlyUrl())??> 46 <a data-senna-off="true" href="${cardInfo.LinkToPage1.getFriendlyUrl()}" class="discover-more-cm-btn green-border"> 47 DISCOVER MORE 48 </a> 49 </#if> 50</div> 51 52 53<style> 54 .whats-on-card img { width: 100%;} 55 56 @media(max-width:767px) { 57 58 .whats-on-card img { 59 object-fit: cover; 60 height: auto; 61 62 } 63 64 .whats-on-card { 65 padding: 10px; 66 } 67 } 68</style> An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator [in template "20095#20121#3433961" at line 13, column 30]
----
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 vocabLocalService = serviceLo... [in template "20095#20121#3433961" at line 13, column 1]
---- 1<#-- Image --> 2 <div class="h-overflow"> 3 <#if (cardInfo.Image41824325.getData())?? && cardInfo.Image41824325.getData() !=""> 4 <img 5 class="w-100" 6 alt="${cardInfo.Image41824325.getAttribute("alt")}" 7 src="${cardInfo.Image41824325.getData()}" /> 8 </#if> 9 </div> 10 11<#assign articleId = .vars['reserved-article-id'].data /> 12<#assign vocabLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") /> 13<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 14<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 15<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(scopeGroupId), articleId) /> 16<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey) /> 17 18 19<#assign vocab = "Whats On Filter" /> 20 21 22<#list asset.getCategories() as category> 23 <#assign vocabName = vocabLocalService.getVocabulary(category.vocabularyId).getTitle("en_US") /> 24 <#if vocabName == vocab> 25 <#assign EntityName = category.getTitle(themeDisplay.getLocale()) /> 26 </#if> 27</#list> 28<div class="woc-details"> 29<#if EntityName??> 30 <p class="White-tag-line"> ${EntityName}</p> 31</#if> 32 33 34 35 <#-- Title --> 36 <h4> 37 <#if (cardInfo.Title.getData())??> 38 ${cardInfo.Title.getData()} 39 </#if> 40 </h4> 41 <#if (cardInfo.TitleBelowText.getData())??> 42 <h5 class="">${cardInfo.TitleBelowText.getData()} </h5> 43 </#if> 44 45 <#if (cardInfo.LinkToPage1.getFriendlyUrl())??> 46 <a data-senna-off="true" href="${cardInfo.LinkToPage1.getFriendlyUrl()}" class="discover-more-cm-btn green-border"> 47 DISCOVER MORE 48 </a> 49 </#if> 50</div> 51 52 53<style> 54 .whats-on-card img { width: 100%;} 55 56 @media(max-width:767px) { 57 58 .whats-on-card img { 59 object-fit: cover; 60 height: auto; 61 62 } 63 64 .whats-on-card { 65 padding: 10px; 66 } 67 } 68</style> An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator [in template "20095#20121#3433961" at line 13, column 30]
----
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 vocabLocalService = serviceLo... [in template "20095#20121#3433961" at line 13, column 1]
---- 1<#-- Image --> 2 <div class="h-overflow"> 3 <#if (cardInfo.Image41824325.getData())?? && cardInfo.Image41824325.getData() !=""> 4 <img 5 class="w-100" 6 alt="${cardInfo.Image41824325.getAttribute("alt")}" 7 src="${cardInfo.Image41824325.getData()}" /> 8 </#if> 9 </div> 10 11<#assign articleId = .vars['reserved-article-id'].data /> 12<#assign vocabLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") /> 13<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 14<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 15<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(scopeGroupId), articleId) /> 16<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey) /> 17 18 19<#assign vocab = "Whats On Filter" /> 20 21 22<#list asset.getCategories() as category> 23 <#assign vocabName = vocabLocalService.getVocabulary(category.vocabularyId).getTitle("en_US") /> 24 <#if vocabName == vocab> 25 <#assign EntityName = category.getTitle(themeDisplay.getLocale()) /> 26 </#if> 27</#list> 28<div class="woc-details"> 29<#if EntityName??> 30 <p class="White-tag-line"> ${EntityName}</p> 31</#if> 32 33 34 35 <#-- Title --> 36 <h4> 37 <#if (cardInfo.Title.getData())??> 38 ${cardInfo.Title.getData()} 39 </#if> 40 </h4> 41 <#if (cardInfo.TitleBelowText.getData())??> 42 <h5 class="">${cardInfo.TitleBelowText.getData()} </h5> 43 </#if> 44 45 <#if (cardInfo.LinkToPage1.getFriendlyUrl())??> 46 <a data-senna-off="true" href="${cardInfo.LinkToPage1.getFriendlyUrl()}" class="discover-more-cm-btn green-border"> 47 DISCOVER MORE 48 </a> 49 </#if> 50</div> 51 52 53<style> 54 .whats-on-card img { width: 100%;} 55 56 @media(max-width:767px) { 57 58 .whats-on-card img { 59 object-fit: cover; 60 height: auto; 61 62 } 63 64 .whats-on-card { 65 padding: 10px; 66 } 67 } 68</style> An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator [in template "20095#20121#3433961" at line 13, column 30]
----
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 vocabLocalService = serviceLo... [in template "20095#20121#3433961" at line 13, column 1]
---- 1<#-- Image --> 2 <div class="h-overflow"> 3 <#if (cardInfo.Image41824325.getData())?? && cardInfo.Image41824325.getData() !=""> 4 <img 5 class="w-100" 6 alt="${cardInfo.Image41824325.getAttribute("alt")}" 7 src="${cardInfo.Image41824325.getData()}" /> 8 </#if> 9 </div> 10 11<#assign articleId = .vars['reserved-article-id'].data /> 12<#assign vocabLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") /> 13<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 14<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 15<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(scopeGroupId), articleId) /> 16<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey) /> 17 18 19<#assign vocab = "Whats On Filter" /> 20 21 22<#list asset.getCategories() as category> 23 <#assign vocabName = vocabLocalService.getVocabulary(category.vocabularyId).getTitle("en_US") /> 24 <#if vocabName == vocab> 25 <#assign EntityName = category.getTitle(themeDisplay.getLocale()) /> 26 </#if> 27</#list> 28<div class="woc-details"> 29<#if EntityName??> 30 <p class="White-tag-line"> ${EntityName}</p> 31</#if> 32 33 34 35 <#-- Title --> 36 <h4> 37 <#if (cardInfo.Title.getData())??> 38 ${cardInfo.Title.getData()} 39 </#if> 40 </h4> 41 <#if (cardInfo.TitleBelowText.getData())??> 42 <h5 class="">${cardInfo.TitleBelowText.getData()} </h5> 43 </#if> 44 45 <#if (cardInfo.LinkToPage1.getFriendlyUrl())??> 46 <a data-senna-off="true" href="${cardInfo.LinkToPage1.getFriendlyUrl()}" class="discover-more-cm-btn green-border"> 47 DISCOVER MORE 48 </a> 49 </#if> 50</div> 51 52 53<style> 54 .whats-on-card img { width: 100%;} 55 56 @media(max-width:767px) { 57 58 .whats-on-card img { 59 object-fit: cover; 60 height: auto; 61 62 } 63 64 .whats-on-card { 65 padding: 10px; 66 } 67 } 68</style> An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator [in template "20095#20121#3433961" at line 13, column 30]
----
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 vocabLocalService = serviceLo... [in template "20095#20121#3433961" at line 13, column 1]
---- 1<#-- Image --> 2 <div class="h-overflow"> 3 <#if (cardInfo.Image41824325.getData())?? && cardInfo.Image41824325.getData() !=""> 4 <img 5 class="w-100" 6 alt="${cardInfo.Image41824325.getAttribute("alt")}" 7 src="${cardInfo.Image41824325.getData()}" /> 8 </#if> 9 </div> 10 11<#assign articleId = .vars['reserved-article-id'].data /> 12<#assign vocabLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") /> 13<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 14<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 15<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(scopeGroupId), articleId) /> 16<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey) /> 17 18 19<#assign vocab = "Whats On Filter" /> 20 21 22<#list asset.getCategories() as category> 23 <#assign vocabName = vocabLocalService.getVocabulary(category.vocabularyId).getTitle("en_US") /> 24 <#if vocabName == vocab> 25 <#assign EntityName = category.getTitle(themeDisplay.getLocale()) /> 26 </#if> 27</#list> 28<div class="woc-details"> 29<#if EntityName??> 30 <p class="White-tag-line"> ${EntityName}</p> 31</#if> 32 33 34 35 <#-- Title --> 36 <h4> 37 <#if (cardInfo.Title.getData())??> 38 ${cardInfo.Title.getData()} 39 </#if> 40 </h4> 41 <#if (cardInfo.TitleBelowText.getData())??> 42 <h5 class="">${cardInfo.TitleBelowText.getData()} </h5> 43 </#if> 44 45 <#if (cardInfo.LinkToPage1.getFriendlyUrl())??> 46 <a data-senna-off="true" href="${cardInfo.LinkToPage1.getFriendlyUrl()}" class="discover-more-cm-btn green-border"> 47 DISCOVER MORE 48 </a> 49 </#if> 50</div> 51 52 53<style> 54 .whats-on-card img { width: 100%;} 55 56 @media(max-width:767px) { 57 58 .whats-on-card img { 59 object-fit: cover; 60 height: auto; 61 62 } 63 64 .whats-on-card { 65 padding: 10px; 66 } 67 } 68</style> An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator [in template "20095#20121#3433961" at line 13, column 30]
----
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 vocabLocalService = serviceLo... [in template "20095#20121#3433961" at line 13, column 1]
---- 1<#-- Image --> 2 <div class="h-overflow"> 3 <#if (cardInfo.Image41824325.getData())?? && cardInfo.Image41824325.getData() !=""> 4 <img 5 class="w-100" 6 alt="${cardInfo.Image41824325.getAttribute("alt")}" 7 src="${cardInfo.Image41824325.getData()}" /> 8 </#if> 9 </div> 10 11<#assign articleId = .vars['reserved-article-id'].data /> 12<#assign vocabLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") /> 13<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 14<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 15<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(scopeGroupId), articleId) /> 16<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey) /> 17 18 19<#assign vocab = "Whats On Filter" /> 20 21 22<#list asset.getCategories() as category> 23 <#assign vocabName = vocabLocalService.getVocabulary(category.vocabularyId).getTitle("en_US") /> 24 <#if vocabName == vocab> 25 <#assign EntityName = category.getTitle(themeDisplay.getLocale()) /> 26 </#if> 27</#list> 28<div class="woc-details"> 29<#if EntityName??> 30 <p class="White-tag-line"> ${EntityName}</p> 31</#if> 32 33 34 35 <#-- Title --> 36 <h4> 37 <#if (cardInfo.Title.getData())??> 38 ${cardInfo.Title.getData()} 39 </#if> 40 </h4> 41 <#if (cardInfo.TitleBelowText.getData())??> 42 <h5 class="">${cardInfo.TitleBelowText.getData()} </h5> 43 </#if> 44 45 <#if (cardInfo.LinkToPage1.getFriendlyUrl())??> 46 <a data-senna-off="true" href="${cardInfo.LinkToPage1.getFriendlyUrl()}" class="discover-more-cm-btn green-border"> 47 DISCOVER MORE 48 </a> 49 </#if> 50</div> 51 52 53<style> 54 .whats-on-card img { width: 100%;} 55 56 @media(max-width:767px) { 57 58 .whats-on-card img { 59 object-fit: cover; 60 height: auto; 61 62 } 63 64 .whats-on-card { 65 padding: 10px; 66 } 67 } 68</style> An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator [in template "20095#20121#3433961" at line 13, column 30]
----
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 vocabLocalService = serviceLo... [in template "20095#20121#3433961" at line 13, column 1]
---- 1<#-- Image --> 2 <div class="h-overflow"> 3 <#if (cardInfo.Image41824325.getData())?? && cardInfo.Image41824325.getData() !=""> 4 <img 5 class="w-100" 6 alt="${cardInfo.Image41824325.getAttribute("alt")}" 7 src="${cardInfo.Image41824325.getData()}" /> 8 </#if> 9 </div> 10 11<#assign articleId = .vars['reserved-article-id'].data /> 12<#assign vocabLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") /> 13<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 14<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 15<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(scopeGroupId), articleId) /> 16<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey) /> 17 18 19<#assign vocab = "Whats On Filter" /> 20 21 22<#list asset.getCategories() as category> 23 <#assign vocabName = vocabLocalService.getVocabulary(category.vocabularyId).getTitle("en_US") /> 24 <#if vocabName == vocab> 25 <#assign EntityName = category.getTitle(themeDisplay.getLocale()) /> 26 </#if> 27</#list> 28<div class="woc-details"> 29<#if EntityName??> 30 <p class="White-tag-line"> ${EntityName}</p> 31</#if> 32 33 34 35 <#-- Title --> 36 <h4> 37 <#if (cardInfo.Title.getData())??> 38 ${cardInfo.Title.getData()} 39 </#if> 40 </h4> 41 <#if (cardInfo.TitleBelowText.getData())??> 42 <h5 class="">${cardInfo.TitleBelowText.getData()} </h5> 43 </#if> 44 45 <#if (cardInfo.LinkToPage1.getFriendlyUrl())??> 46 <a data-senna-off="true" href="${cardInfo.LinkToPage1.getFriendlyUrl()}" class="discover-more-cm-btn green-border"> 47 DISCOVER MORE 48 </a> 49 </#if> 50</div> 51 52 53<style> 54 .whats-on-card img { width: 100%;} 55 56 @media(max-width:767px) { 57 58 .whats-on-card img { 59 object-fit: cover; 60 height: auto; 61 62 } 63 64 .whats-on-card { 65 padding: 10px; 66 } 67 } 68</style> An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator [in template "20095#20121#3433961" at line 13, column 30]
----
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 vocabLocalService = serviceLo... [in template "20095#20121#3433961" at line 13, column 1]
---- 1<#-- Image --> 2 <div class="h-overflow"> 3 <#if (cardInfo.Image41824325.getData())?? && cardInfo.Image41824325.getData() !=""> 4 <img 5 class="w-100" 6 alt="${cardInfo.Image41824325.getAttribute("alt")}" 7 src="${cardInfo.Image41824325.getData()}" /> 8 </#if> 9 </div> 10 11<#assign articleId = .vars['reserved-article-id'].data /> 12<#assign vocabLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") /> 13<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 14<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 15<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(scopeGroupId), articleId) /> 16<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey) /> 17 18 19<#assign vocab = "Whats On Filter" /> 20 21 22<#list asset.getCategories() as category> 23 <#assign vocabName = vocabLocalService.getVocabulary(category.vocabularyId).getTitle("en_US") /> 24 <#if vocabName == vocab> 25 <#assign EntityName = category.getTitle(themeDisplay.getLocale()) /> 26 </#if> 27</#list> 28<div class="woc-details"> 29<#if EntityName??> 30 <p class="White-tag-line"> ${EntityName}</p> 31</#if> 32 33 34 35 <#-- Title --> 36 <h4> 37 <#if (cardInfo.Title.getData())??> 38 ${cardInfo.Title.getData()} 39 </#if> 40 </h4> 41 <#if (cardInfo.TitleBelowText.getData())??> 42 <h5 class="">${cardInfo.TitleBelowText.getData()} </h5> 43 </#if> 44 45 <#if (cardInfo.LinkToPage1.getFriendlyUrl())??> 46 <a data-senna-off="true" href="${cardInfo.LinkToPage1.getFriendlyUrl()}" class="discover-more-cm-btn green-border"> 47 DISCOVER MORE 48 </a> 49 </#if> 50</div> 51 52 53<style> 54 .whats-on-card img { width: 100%;} 55 56 @media(max-width:767px) { 57 58 .whats-on-card img { 59 object-fit: cover; 60 height: auto; 61 62 } 63 64 .whats-on-card { 65 padding: 10px; 66 } 67 } 68</style> An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator [in template "20095#20121#3433961" at line 13, column 30]
----
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 vocabLocalService = serviceLo... [in template "20095#20121#3433961" at line 13, column 1]
---- 1<#-- Image --> 2 <div class="h-overflow"> 3 <#if (cardInfo.Image41824325.getData())?? && cardInfo.Image41824325.getData() !=""> 4 <img 5 class="w-100" 6 alt="${cardInfo.Image41824325.getAttribute("alt")}" 7 src="${cardInfo.Image41824325.getData()}" /> 8 </#if> 9 </div> 10 11<#assign articleId = .vars['reserved-article-id'].data /> 12<#assign vocabLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") /> 13<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 14<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 15<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(scopeGroupId), articleId) /> 16<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey) /> 17 18 19<#assign vocab = "Whats On Filter" /> 20 21 22<#list asset.getCategories() as category> 23 <#assign vocabName = vocabLocalService.getVocabulary(category.vocabularyId).getTitle("en_US") /> 24 <#if vocabName == vocab> 25 <#assign EntityName = category.getTitle(themeDisplay.getLocale()) /> 26 </#if> 27</#list> 28<div class="woc-details"> 29<#if EntityName??> 30 <p class="White-tag-line"> ${EntityName}</p> 31</#if> 32 33 34 35 <#-- Title --> 36 <h4> 37 <#if (cardInfo.Title.getData())??> 38 ${cardInfo.Title.getData()} 39 </#if> 40 </h4> 41 <#if (cardInfo.TitleBelowText.getData())??> 42 <h5 class="">${cardInfo.TitleBelowText.getData()} </h5> 43 </#if> 44 45 <#if (cardInfo.LinkToPage1.getFriendlyUrl())??> 46 <a data-senna-off="true" href="${cardInfo.LinkToPage1.getFriendlyUrl()}" class="discover-more-cm-btn green-border"> 47 DISCOVER MORE 48 </a> 49 </#if> 50</div> 51 52 53<style> 54 .whats-on-card img { width: 100%;} 55 56 @media(max-width:767px) { 57 58 .whats-on-card img { 59 object-fit: cover; 60 height: auto; 61 62 } 63 64 .whats-on-card { 65 padding: 10px; 66 } 67 } 68</style> An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator [in template "20095#20121#3433961" at line 13, column 30]
----
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 vocabLocalService = serviceLo... [in template "20095#20121#3433961" at line 13, column 1]
---- 1<#-- Image --> 2 <div class="h-overflow"> 3 <#if (cardInfo.Image41824325.getData())?? && cardInfo.Image41824325.getData() !=""> 4 <img 5 class="w-100" 6 alt="${cardInfo.Image41824325.getAttribute("alt")}" 7 src="${cardInfo.Image41824325.getData()}" /> 8 </#if> 9 </div> 10 11<#assign articleId = .vars['reserved-article-id'].data /> 12<#assign vocabLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") /> 13<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 14<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 15<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(scopeGroupId), articleId) /> 16<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey) /> 17 18 19<#assign vocab = "Whats On Filter" /> 20 21 22<#list asset.getCategories() as category> 23 <#assign vocabName = vocabLocalService.getVocabulary(category.vocabularyId).getTitle("en_US") /> 24 <#if vocabName == vocab> 25 <#assign EntityName = category.getTitle(themeDisplay.getLocale()) /> 26 </#if> 27</#list> 28<div class="woc-details"> 29<#if EntityName??> 30 <p class="White-tag-line"> ${EntityName}</p> 31</#if> 32 33 34 35 <#-- Title --> 36 <h4> 37 <#if (cardInfo.Title.getData())??> 38 ${cardInfo.Title.getData()} 39 </#if> 40 </h4> 41 <#if (cardInfo.TitleBelowText.getData())??> 42 <h5 class="">${cardInfo.TitleBelowText.getData()} </h5> 43 </#if> 44 45 <#if (cardInfo.LinkToPage1.getFriendlyUrl())??> 46 <a data-senna-off="true" href="${cardInfo.LinkToPage1.getFriendlyUrl()}" class="discover-more-cm-btn green-border"> 47 DISCOVER MORE 48 </a> 49 </#if> 50</div> 51 52 53<style> 54 .whats-on-card img { width: 100%;} 55 56 @media(max-width:767px) { 57 58 .whats-on-card img { 59 object-fit: cover; 60 height: auto; 61 62 } 63 64 .whats-on-card { 65 padding: 10px; 66 } 67 } 68</style> An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator [in template "20095#20121#3433961" at line 13, column 30]
----
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 vocabLocalService = serviceLo... [in template "20095#20121#3433961" at line 13, column 1]
---- 1<#-- Image --> 2 <div class="h-overflow"> 3 <#if (cardInfo.Image41824325.getData())?? && cardInfo.Image41824325.getData() !=""> 4 <img 5 class="w-100" 6 alt="${cardInfo.Image41824325.getAttribute("alt")}" 7 src="${cardInfo.Image41824325.getData()}" /> 8 </#if> 9 </div> 10 11<#assign articleId = .vars['reserved-article-id'].data /> 12<#assign vocabLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") /> 13<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 14<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 15<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(scopeGroupId), articleId) /> 16<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey) /> 17 18 19<#assign vocab = "Whats On Filter" /> 20 21 22<#list asset.getCategories() as category> 23 <#assign vocabName = vocabLocalService.getVocabulary(category.vocabularyId).getTitle("en_US") /> 24 <#if vocabName == vocab> 25 <#assign EntityName = category.getTitle(themeDisplay.getLocale()) /> 26 </#if> 27</#list> 28<div class="woc-details"> 29<#if EntityName??> 30 <p class="White-tag-line"> ${EntityName}</p> 31</#if> 32 33 34 35 <#-- Title --> 36 <h4> 37 <#if (cardInfo.Title.getData())??> 38 ${cardInfo.Title.getData()} 39 </#if> 40 </h4> 41 <#if (cardInfo.TitleBelowText.getData())??> 42 <h5 class="">${cardInfo.TitleBelowText.getData()} </h5> 43 </#if> 44 45 <#if (cardInfo.LinkToPage1.getFriendlyUrl())??> 46 <a data-senna-off="true" href="${cardInfo.LinkToPage1.getFriendlyUrl()}" class="discover-more-cm-btn green-border"> 47 DISCOVER MORE 48 </a> 49 </#if> 50</div> 51 52 53<style> 54 .whats-on-card img { width: 100%;} 55 56 @media(max-width:767px) { 57 58 .whats-on-card img { 59 object-fit: cover; 60 height: auto; 61 62 } 63 64 .whats-on-card { 65 padding: 10px; 66 } 67 } 68</style> An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator [in template "20095#20121#3433961" at line 13, column 30]
----
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 vocabLocalService = serviceLo... [in template "20095#20121#3433961" at line 13, column 1]
---- 1<#-- Image --> 2 <div class="h-overflow"> 3 <#if (cardInfo.Image41824325.getData())?? && cardInfo.Image41824325.getData() !=""> 4 <img 5 class="w-100" 6 alt="${cardInfo.Image41824325.getAttribute("alt")}" 7 src="${cardInfo.Image41824325.getData()}" /> 8 </#if> 9 </div> 10 11<#assign articleId = .vars['reserved-article-id'].data /> 12<#assign vocabLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") /> 13<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 14<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 15<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(scopeGroupId), articleId) /> 16<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey) /> 17 18 19<#assign vocab = "Whats On Filter" /> 20 21 22<#list asset.getCategories() as category> 23 <#assign vocabName = vocabLocalService.getVocabulary(category.vocabularyId).getTitle("en_US") /> 24 <#if vocabName == vocab> 25 <#assign EntityName = category.getTitle(themeDisplay.getLocale()) /> 26 </#if> 27</#list> 28<div class="woc-details"> 29<#if EntityName??> 30 <p class="White-tag-line"> ${EntityName}</p> 31</#if> 32 33 34 35 <#-- Title --> 36 <h4> 37 <#if (cardInfo.Title.getData())??> 38 ${cardInfo.Title.getData()} 39 </#if> 40 </h4> 41 <#if (cardInfo.TitleBelowText.getData())??> 42 <h5 class="">${cardInfo.TitleBelowText.getData()} </h5> 43 </#if> 44 45 <#if (cardInfo.LinkToPage1.getFriendlyUrl())??> 46 <a data-senna-off="true" href="${cardInfo.LinkToPage1.getFriendlyUrl()}" class="discover-more-cm-btn green-border"> 47 DISCOVER MORE 48 </a> 49 </#if> 50</div> 51 52 53<style> 54 .whats-on-card img { width: 100%;} 55 56 @media(max-width:767px) { 57 58 .whats-on-card img { 59 object-fit: cover; 60 height: auto; 61 62 } 63 64 .whats-on-card { 65 padding: 10px; 66 } 67 } 68</style> An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator [in template "20095#20121#3433961" at line 13, column 30]
----
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 vocabLocalService = serviceLo... [in template "20095#20121#3433961" at line 13, column 1]
---- 1<#-- Image --> 2 <div class="h-overflow"> 3 <#if (cardInfo.Image41824325.getData())?? && cardInfo.Image41824325.getData() !=""> 4 <img 5 class="w-100" 6 alt="${cardInfo.Image41824325.getAttribute("alt")}" 7 src="${cardInfo.Image41824325.getData()}" /> 8 </#if> 9 </div> 10 11<#assign articleId = .vars['reserved-article-id'].data /> 12<#assign vocabLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") /> 13<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 14<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 15<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(scopeGroupId), articleId) /> 16<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey) /> 17 18 19<#assign vocab = "Whats On Filter" /> 20 21 22<#list asset.getCategories() as category> 23 <#assign vocabName = vocabLocalService.getVocabulary(category.vocabularyId).getTitle("en_US") /> 24 <#if vocabName == vocab> 25 <#assign EntityName = category.getTitle(themeDisplay.getLocale()) /> 26 </#if> 27</#list> 28<div class="woc-details"> 29<#if EntityName??> 30 <p class="White-tag-line"> ${EntityName}</p> 31</#if> 32 33 34 35 <#-- Title --> 36 <h4> 37 <#if (cardInfo.Title.getData())??> 38 ${cardInfo.Title.getData()} 39 </#if> 40 </h4> 41 <#if (cardInfo.TitleBelowText.getData())??> 42 <h5 class="">${cardInfo.TitleBelowText.getData()} </h5> 43 </#if> 44 45 <#if (cardInfo.LinkToPage1.getFriendlyUrl())??> 46 <a data-senna-off="true" href="${cardInfo.LinkToPage1.getFriendlyUrl()}" class="discover-more-cm-btn green-border"> 47 DISCOVER MORE 48 </a> 49 </#if> 50</div> 51 52 53<style> 54 .whats-on-card img { width: 100%;} 55 56 @media(max-width:767px) { 57 58 .whats-on-card img { 59 object-fit: cover; 60 height: auto; 61 62 } 63 64 .whats-on-card { 65 padding: 10px; 66 } 67 } 68</style> An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator [in template "20095#20121#3433961" at line 13, column 30]
----
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 vocabLocalService = serviceLo... [in template "20095#20121#3433961" at line 13, column 1]
---- 1<#-- Image --> 2 <div class="h-overflow"> 3 <#if (cardInfo.Image41824325.getData())?? && cardInfo.Image41824325.getData() !=""> 4 <img 5 class="w-100" 6 alt="${cardInfo.Image41824325.getAttribute("alt")}" 7 src="${cardInfo.Image41824325.getData()}" /> 8 </#if> 9 </div> 10 11<#assign articleId = .vars['reserved-article-id'].data /> 12<#assign vocabLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") /> 13<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 14<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 15<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(scopeGroupId), articleId) /> 16<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey) /> 17 18 19<#assign vocab = "Whats On Filter" /> 20 21 22<#list asset.getCategories() as category> 23 <#assign vocabName = vocabLocalService.getVocabulary(category.vocabularyId).getTitle("en_US") /> 24 <#if vocabName == vocab> 25 <#assign EntityName = category.getTitle(themeDisplay.getLocale()) /> 26 </#if> 27</#list> 28<div class="woc-details"> 29<#if EntityName??> 30 <p class="White-tag-line"> ${EntityName}</p> 31</#if> 32 33 34 35 <#-- Title --> 36 <h4> 37 <#if (cardInfo.Title.getData())??> 38 ${cardInfo.Title.getData()} 39 </#if> 40 </h4> 41 <#if (cardInfo.TitleBelowText.getData())??> 42 <h5 class="">${cardInfo.TitleBelowText.getData()} </h5> 43 </#if> 44 45 <#if (cardInfo.LinkToPage1.getFriendlyUrl())??> 46 <a data-senna-off="true" href="${cardInfo.LinkToPage1.getFriendlyUrl()}" class="discover-more-cm-btn green-border"> 47 DISCOVER MORE 48 </a> 49 </#if> 50</div> 51 52 53<style> 54 .whats-on-card img { width: 100%;} 55 56 @media(max-width:767px) { 57 58 .whats-on-card img { 59 object-fit: cover; 60 height: auto; 61 62 } 63 64 .whats-on-card { 65 padding: 10px; 66 } 67 } 68</style> An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator [in template "20095#20121#3433961" at line 13, column 30]
----
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 vocabLocalService = serviceLo... [in template "20095#20121#3433961" at line 13, column 1]
---- 1<#-- Image --> 2 <div class="h-overflow"> 3 <#if (cardInfo.Image41824325.getData())?? && cardInfo.Image41824325.getData() !=""> 4 <img 5 class="w-100" 6 alt="${cardInfo.Image41824325.getAttribute("alt")}" 7 src="${cardInfo.Image41824325.getData()}" /> 8 </#if> 9 </div> 10 11<#assign articleId = .vars['reserved-article-id'].data /> 12<#assign vocabLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") /> 13<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 14<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 15<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(scopeGroupId), articleId) /> 16<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey) /> 17 18 19<#assign vocab = "Whats On Filter" /> 20 21 22<#list asset.getCategories() as category> 23 <#assign vocabName = vocabLocalService.getVocabulary(category.vocabularyId).getTitle("en_US") /> 24 <#if vocabName == vocab> 25 <#assign EntityName = category.getTitle(themeDisplay.getLocale()) /> 26 </#if> 27</#list> 28<div class="woc-details"> 29<#if EntityName??> 30 <p class="White-tag-line"> ${EntityName}</p> 31</#if> 32 33 34 35 <#-- Title --> 36 <h4> 37 <#if (cardInfo.Title.getData())??> 38 ${cardInfo.Title.getData()} 39 </#if> 40 </h4> 41 <#if (cardInfo.TitleBelowText.getData())??> 42 <h5 class="">${cardInfo.TitleBelowText.getData()} </h5> 43 </#if> 44 45 <#if (cardInfo.LinkToPage1.getFriendlyUrl())??> 46 <a data-senna-off="true" href="${cardInfo.LinkToPage1.getFriendlyUrl()}" class="discover-more-cm-btn green-border"> 47 DISCOVER MORE 48 </a> 49 </#if> 50</div> 51 52 53<style> 54 .whats-on-card img { width: 100%;} 55 56 @media(max-width:767px) { 57 58 .whats-on-card img { 59 object-fit: cover; 60 height: auto; 61 62 } 63 64 .whats-on-card { 65 padding: 10px; 66 } 67 } 68</style> An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator [in template "20095#20121#3433961" at line 13, column 30]
----
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 vocabLocalService = serviceLo... [in template "20095#20121#3433961" at line 13, column 1]
---- 1<#-- Image --> 2 <div class="h-overflow"> 3 <#if (cardInfo.Image41824325.getData())?? && cardInfo.Image41824325.getData() !=""> 4 <img 5 class="w-100" 6 alt="${cardInfo.Image41824325.getAttribute("alt")}" 7 src="${cardInfo.Image41824325.getData()}" /> 8 </#if> 9 </div> 10 11<#assign articleId = .vars['reserved-article-id'].data /> 12<#assign vocabLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") /> 13<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 14<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 15<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(scopeGroupId), articleId) /> 16<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey) /> 17 18 19<#assign vocab = "Whats On Filter" /> 20 21 22<#list asset.getCategories() as category> 23 <#assign vocabName = vocabLocalService.getVocabulary(category.vocabularyId).getTitle("en_US") /> 24 <#if vocabName == vocab> 25 <#assign EntityName = category.getTitle(themeDisplay.getLocale()) /> 26 </#if> 27</#list> 28<div class="woc-details"> 29<#if EntityName??> 30 <p class="White-tag-line"> ${EntityName}</p> 31</#if> 32 33 34 35 <#-- Title --> 36 <h4> 37 <#if (cardInfo.Title.getData())??> 38 ${cardInfo.Title.getData()} 39 </#if> 40 </h4> 41 <#if (cardInfo.TitleBelowText.getData())??> 42 <h5 class="">${cardInfo.TitleBelowText.getData()} </h5> 43 </#if> 44 45 <#if (cardInfo.LinkToPage1.getFriendlyUrl())??> 46 <a data-senna-off="true" href="${cardInfo.LinkToPage1.getFriendlyUrl()}" class="discover-more-cm-btn green-border"> 47 DISCOVER MORE 48 </a> 49 </#if> 50</div> 51 52 53<style> 54 .whats-on-card img { width: 100%;} 55 56 @media(max-width:767px) { 57 58 .whats-on-card img { 59 object-fit: cover; 60 height: auto; 61 62 } 63 64 .whats-on-card { 65 padding: 10px; 66 } 67 } 68</style> An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator [in template "20095#20121#3433961" at line 13, column 30]
----
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 vocabLocalService = serviceLo... [in template "20095#20121#3433961" at line 13, column 1]
---- 1<#-- Image --> 2 <div class="h-overflow"> 3 <#if (cardInfo.Image41824325.getData())?? && cardInfo.Image41824325.getData() !=""> 4 <img 5 class="w-100" 6 alt="${cardInfo.Image41824325.getAttribute("alt")}" 7 src="${cardInfo.Image41824325.getData()}" /> 8 </#if> 9 </div> 10 11<#assign articleId = .vars['reserved-article-id'].data /> 12<#assign vocabLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") /> 13<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 14<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 15<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(scopeGroupId), articleId) /> 16<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey) /> 17 18 19<#assign vocab = "Whats On Filter" /> 20 21 22<#list asset.getCategories() as category> 23 <#assign vocabName = vocabLocalService.getVocabulary(category.vocabularyId).getTitle("en_US") /> 24 <#if vocabName == vocab> 25 <#assign EntityName = category.getTitle(themeDisplay.getLocale()) /> 26 </#if> 27</#list> 28<div class="woc-details"> 29<#if EntityName??> 30 <p class="White-tag-line"> ${EntityName}</p> 31</#if> 32 33 34 35 <#-- Title --> 36 <h4> 37 <#if (cardInfo.Title.getData())??> 38 ${cardInfo.Title.getData()} 39 </#if> 40 </h4> 41 <#if (cardInfo.TitleBelowText.getData())??> 42 <h5 class="">${cardInfo.TitleBelowText.getData()} </h5> 43 </#if> 44 45 <#if (cardInfo.LinkToPage1.getFriendlyUrl())??> 46 <a data-senna-off="true" href="${cardInfo.LinkToPage1.getFriendlyUrl()}" class="discover-more-cm-btn green-border"> 47 DISCOVER MORE 48 </a> 49 </#if> 50</div> 51 52 53<style> 54 .whats-on-card img { width: 100%;} 55 56 @media(max-width:767px) { 57 58 .whats-on-card img { 59 object-fit: cover; 60 height: auto; 61 62 } 63 64 .whats-on-card { 65 padding: 10px; 66 } 67 } 68</style> An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator [in template "20095#20121#3433961" at line 13, column 30]
----
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 vocabLocalService = serviceLo... [in template "20095#20121#3433961" at line 13, column 1]
---- 1<#-- Image --> 2 <div class="h-overflow"> 3 <#if (cardInfo.Image41824325.getData())?? && cardInfo.Image41824325.getData() !=""> 4 <img 5 class="w-100" 6 alt="${cardInfo.Image41824325.getAttribute("alt")}" 7 src="${cardInfo.Image41824325.getData()}" /> 8 </#if> 9 </div> 10 11<#assign articleId = .vars['reserved-article-id'].data /> 12<#assign vocabLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") /> 13<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 14<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 15<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(scopeGroupId), articleId) /> 16<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey) /> 17 18 19<#assign vocab = "Whats On Filter" /> 20 21 22<#list asset.getCategories() as category> 23 <#assign vocabName = vocabLocalService.getVocabulary(category.vocabularyId).getTitle("en_US") /> 24 <#if vocabName == vocab> 25 <#assign EntityName = category.getTitle(themeDisplay.getLocale()) /> 26 </#if> 27</#list> 28<div class="woc-details"> 29<#if EntityName??> 30 <p class="White-tag-line"> ${EntityName}</p> 31</#if> 32 33 34 35 <#-- Title --> 36 <h4> 37 <#if (cardInfo.Title.getData())??> 38 ${cardInfo.Title.getData()} 39 </#if> 40 </h4> 41 <#if (cardInfo.TitleBelowText.getData())??> 42 <h5 class="">${cardInfo.TitleBelowText.getData()} </h5> 43 </#if> 44 45 <#if (cardInfo.LinkToPage1.getFriendlyUrl())??> 46 <a data-senna-off="true" href="${cardInfo.LinkToPage1.getFriendlyUrl()}" class="discover-more-cm-btn green-border"> 47 DISCOVER MORE 48 </a> 49 </#if> 50</div> 51 52 53<style> 54 .whats-on-card img { width: 100%;} 55 56 @media(max-width:767px) { 57 58 .whats-on-card img { 59 object-fit: cover; 60 height: auto; 61 62 } 63 64 .whats-on-card { 65 padding: 10px; 66 } 67 } 68</style> An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator [in template "20095#20121#3433961" at line 13, column 30]
----
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 vocabLocalService = serviceLo... [in template "20095#20121#3433961" at line 13, column 1]
---- 1<#-- Image --> 2 <div class="h-overflow"> 3 <#if (cardInfo.Image41824325.getData())?? && cardInfo.Image41824325.getData() !=""> 4 <img 5 class="w-100" 6 alt="${cardInfo.Image41824325.getAttribute("alt")}" 7 src="${cardInfo.Image41824325.getData()}" /> 8 </#if> 9 </div> 10 11<#assign articleId = .vars['reserved-article-id'].data /> 12<#assign vocabLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") /> 13<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 14<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 15<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(scopeGroupId), articleId) /> 16<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey) /> 17 18 19<#assign vocab = "Whats On Filter" /> 20 21 22<#list asset.getCategories() as category> 23 <#assign vocabName = vocabLocalService.getVocabulary(category.vocabularyId).getTitle("en_US") /> 24 <#if vocabName == vocab> 25 <#assign EntityName = category.getTitle(themeDisplay.getLocale()) /> 26 </#if> 27</#list> 28<div class="woc-details"> 29<#if EntityName??> 30 <p class="White-tag-line"> ${EntityName}</p> 31</#if> 32 33 34 35 <#-- Title --> 36 <h4> 37 <#if (cardInfo.Title.getData())??> 38 ${cardInfo.Title.getData()} 39 </#if> 40 </h4> 41 <#if (cardInfo.TitleBelowText.getData())??> 42 <h5 class="">${cardInfo.TitleBelowText.getData()} </h5> 43 </#if> 44 45 <#if (cardInfo.LinkToPage1.getFriendlyUrl())??> 46 <a data-senna-off="true" href="${cardInfo.LinkToPage1.getFriendlyUrl()}" class="discover-more-cm-btn green-border"> 47 DISCOVER MORE 48 </a> 49 </#if> 50</div> 51 52 53<style> 54 .whats-on-card img { width: 100%;} 55 56 @media(max-width:767px) { 57 58 .whats-on-card img { 59 object-fit: cover; 60 height: auto; 61 62 } 63 64 .whats-on-card { 65 padding: 10px; 66 } 67 } 68</style> An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator [in template "20095#20121#3433961" at line 13, column 30]
----
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 vocabLocalService = serviceLo... [in template "20095#20121#3433961" at line 13, column 1]
---- 1<#-- Image --> 2 <div class="h-overflow"> 3 <#if (cardInfo.Image41824325.getData())?? && cardInfo.Image41824325.getData() !=""> 4 <img 5 class="w-100" 6 alt="${cardInfo.Image41824325.getAttribute("alt")}" 7 src="${cardInfo.Image41824325.getData()}" /> 8 </#if> 9 </div> 10 11<#assign articleId = .vars['reserved-article-id'].data /> 12<#assign vocabLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") /> 13<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 14<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 15<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(scopeGroupId), articleId) /> 16<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey) /> 17 18 19<#assign vocab = "Whats On Filter" /> 20 21 22<#list asset.getCategories() as category> 23 <#assign vocabName = vocabLocalService.getVocabulary(category.vocabularyId).getTitle("en_US") /> 24 <#if vocabName == vocab> 25 <#assign EntityName = category.getTitle(themeDisplay.getLocale()) /> 26 </#if> 27</#list> 28<div class="woc-details"> 29<#if EntityName??> 30 <p class="White-tag-line"> ${EntityName}</p> 31</#if> 32 33 34 35 <#-- Title --> 36 <h4> 37 <#if (cardInfo.Title.getData())??> 38 ${cardInfo.Title.getData()} 39 </#if> 40 </h4> 41 <#if (cardInfo.TitleBelowText.getData())??> 42 <h5 class="">${cardInfo.TitleBelowText.getData()} </h5> 43 </#if> 44 45 <#if (cardInfo.LinkToPage1.getFriendlyUrl())??> 46 <a data-senna-off="true" href="${cardInfo.LinkToPage1.getFriendlyUrl()}" class="discover-more-cm-btn green-border"> 47 DISCOVER MORE 48 </a> 49 </#if> 50</div> 51 52 53<style> 54 .whats-on-card img { width: 100%;} 55 56 @media(max-width:767px) { 57 58 .whats-on-card img { 59 object-fit: cover; 60 height: auto; 61 62 } 63 64 .whats-on-card { 65 padding: 10px; 66 } 67 } 68</style> An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator [in template "20095#20121#3433961" at line 13, column 30]
----
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 vocabLocalService = serviceLo... [in template "20095#20121#3433961" at line 13, column 1]
---- 1<#-- Image --> 2 <div class="h-overflow"> 3 <#if (cardInfo.Image41824325.getData())?? && cardInfo.Image41824325.getData() !=""> 4 <img 5 class="w-100" 6 alt="${cardInfo.Image41824325.getAttribute("alt")}" 7 src="${cardInfo.Image41824325.getData()}" /> 8 </#if> 9 </div> 10 11<#assign articleId = .vars['reserved-article-id'].data /> 12<#assign vocabLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") /> 13<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 14<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 15<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(scopeGroupId), articleId) /> 16<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey) /> 17 18 19<#assign vocab = "Whats On Filter" /> 20 21 22<#list asset.getCategories() as category> 23 <#assign vocabName = vocabLocalService.getVocabulary(category.vocabularyId).getTitle("en_US") /> 24 <#if vocabName == vocab> 25 <#assign EntityName = category.getTitle(themeDisplay.getLocale()) /> 26 </#if> 27</#list> 28<div class="woc-details"> 29<#if EntityName??> 30 <p class="White-tag-line"> ${EntityName}</p> 31</#if> 32 33 34 35 <#-- Title --> 36 <h4> 37 <#if (cardInfo.Title.getData())??> 38 ${cardInfo.Title.getData()} 39 </#if> 40 </h4> 41 <#if (cardInfo.TitleBelowText.getData())??> 42 <h5 class="">${cardInfo.TitleBelowText.getData()} </h5> 43 </#if> 44 45 <#if (cardInfo.LinkToPage1.getFriendlyUrl())??> 46 <a data-senna-off="true" href="${cardInfo.LinkToPage1.getFriendlyUrl()}" class="discover-more-cm-btn green-border"> 47 DISCOVER MORE 48 </a> 49 </#if> 50</div> 51 52 53<style> 54 .whats-on-card img { width: 100%;} 55 56 @media(max-width:767px) { 57 58 .whats-on-card img { 59 object-fit: cover; 60 height: auto; 61 62 } 63 64 .whats-on-card { 65 padding: 10px; 66 } 67 } 68</style> An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator [in template "20095#20121#3433961" at line 13, column 30]
----
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 vocabLocalService = serviceLo... [in template "20095#20121#3433961" at line 13, column 1]
---- 1<#-- Image --> 2 <div class="h-overflow"> 3 <#if (cardInfo.Image41824325.getData())?? && cardInfo.Image41824325.getData() !=""> 4 <img 5 class="w-100" 6 alt="${cardInfo.Image41824325.getAttribute("alt")}" 7 src="${cardInfo.Image41824325.getData()}" /> 8 </#if> 9 </div> 10 11<#assign articleId = .vars['reserved-article-id'].data /> 12<#assign vocabLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") /> 13<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 14<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 15<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(scopeGroupId), articleId) /> 16<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey) /> 17 18 19<#assign vocab = "Whats On Filter" /> 20 21 22<#list asset.getCategories() as category> 23 <#assign vocabName = vocabLocalService.getVocabulary(category.vocabularyId).getTitle("en_US") /> 24 <#if vocabName == vocab> 25 <#assign EntityName = category.getTitle(themeDisplay.getLocale()) /> 26 </#if> 27</#list> 28<div class="woc-details"> 29<#if EntityName??> 30 <p class="White-tag-line"> ${EntityName}</p> 31</#if> 32 33 34 35 <#-- Title --> 36 <h4> 37 <#if (cardInfo.Title.getData())??> 38 ${cardInfo.Title.getData()} 39 </#if> 40 </h4> 41 <#if (cardInfo.TitleBelowText.getData())??> 42 <h5 class="">${cardInfo.TitleBelowText.getData()} </h5> 43 </#if> 44 45 <#if (cardInfo.LinkToPage1.getFriendlyUrl())??> 46 <a data-senna-off="true" href="${cardInfo.LinkToPage1.getFriendlyUrl()}" class="discover-more-cm-btn green-border"> 47 DISCOVER MORE 48 </a> 49 </#if> 50</div> 51 52 53<style> 54 .whats-on-card img { width: 100%;} 55 56 @media(max-width:767px) { 57 58 .whats-on-card img { 59 object-fit: cover; 60 height: auto; 61 62 } 63 64 .whats-on-card { 65 padding: 10px; 66 } 67 } 68</style> An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator [in template "20095#20121#3433961" at line 13, column 30]
----
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 vocabLocalService = serviceLo... [in template "20095#20121#3433961" at line 13, column 1]
---- 1<#-- Image --> 2 <div class="h-overflow"> 3 <#if (cardInfo.Image41824325.getData())?? && cardInfo.Image41824325.getData() !=""> 4 <img 5 class="w-100" 6 alt="${cardInfo.Image41824325.getAttribute("alt")}" 7 src="${cardInfo.Image41824325.getData()}" /> 8 </#if> 9 </div> 10 11<#assign articleId = .vars['reserved-article-id'].data /> 12<#assign vocabLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") /> 13<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 14<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 15<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(scopeGroupId), articleId) /> 16<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey) /> 17 18 19<#assign vocab = "Whats On Filter" /> 20 21 22<#list asset.getCategories() as category> 23 <#assign vocabName = vocabLocalService.getVocabulary(category.vocabularyId).getTitle("en_US") /> 24 <#if vocabName == vocab> 25 <#assign EntityName = category.getTitle(themeDisplay.getLocale()) /> 26 </#if> 27</#list> 28<div class="woc-details"> 29<#if EntityName??> 30 <p class="White-tag-line"> ${EntityName}</p> 31</#if> 32 33 34 35 <#-- Title --> 36 <h4> 37 <#if (cardInfo.Title.getData())??> 38 ${cardInfo.Title.getData()} 39 </#if> 40 </h4> 41 <#if (cardInfo.TitleBelowText.getData())??> 42 <h5 class="">${cardInfo.TitleBelowText.getData()} </h5> 43 </#if> 44 45 <#if (cardInfo.LinkToPage1.getFriendlyUrl())??> 46 <a data-senna-off="true" href="${cardInfo.LinkToPage1.getFriendlyUrl()}" class="discover-more-cm-btn green-border"> 47 DISCOVER MORE 48 </a> 49 </#if> 50</div> 51 52 53<style> 54 .whats-on-card img { width: 100%;} 55 56 @media(max-width:767px) { 57 58 .whats-on-card img { 59 object-fit: cover; 60 height: auto; 61 62 } 63 64 .whats-on-card { 65 padding: 10px; 66 } 67 } 68</style>