image

Dr. Ahmed Adel

An error occurred while processing the template.
Java method "com.liferay.portal.vulcan.internal.template.RESTClientTemplateContextContributor$RESTClient.get(String)" threw an exception when invoked on com.liferay.portal.vulcan.internal.template.RESTClientTemplateContextContributor$RESTClient object "com.liferay.portal.vulcan.internal.template.RESTClientTemplateContextContributor$RESTClient@30909b28"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign doctorsToSpecialities = (rest...  [in template "50514338544647#20120#null" at line 1, column 1]
----
1<#assign doctorsToSpecialities=(restClient.get("/c/doctors/${ObjectEntry_objectEntryId.getData()}/doctorsToSpecialities?fields=specialtyName%2Cid")) /> 
2<#assign specialtyName ="" /> 
3<#if doctorsToSpecialities?has_content> 
4	<#list doctorsToSpecialities.items as doctorsToSpeciality> 
5		<#if doctorsToSpeciality.specialtyName?exists> 
6			<#assign specialtyName = doctorsToSpeciality.specialtyName /> 
7			    <#break> 
8			</#if> 
9		</#list> 
10</#if> 
11	<#if (ObjectField_jobTitle.getData())?has_content> 
12	${ObjectField_jobTitle.getData()} 
13		<#if specialtyName?has_content> 
14	${languageUtil.get(locale, "comma")} ${specialtyName} 
15 </#if> 
16</#if> 

Languages

An error occurred while processing the template.
Java method "com.liferay.portal.vulcan.internal.template.RESTClientTemplateContextContributor$RESTClient.get(String)" threw an exception when invoked on com.liferay.portal.vulcan.internal.template.RESTClientTemplateContextContributor$RESTClient object "com.liferay.portal.vulcan.internal.template.RESTClientTemplateContextContributor$RESTClient@2a07d45c"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign quarterlyReleaseVocabularyId ...  [in template "50514338544647#20120#null" at line 2, column 5]
----
1<#if AssetCategory_vocabulary.getData() == "Languages"> 
2    <#assign quarterlyReleaseVocabularyId = (restClient.get("/headless-admin-taxonomy/v1.0/sites/${themeDisplay.getSiteGroupId()}/taxonomy-vocabularies/by-external-reference-code/LANGUAGES").id)! /> 
3 
4    <#if quarterlyReleaseVocabularyId?has_content> 
5        <#assign releaseCategories = (restClient.get("/headless-admin-taxonomy/v1.0/taxonomy-vocabularies/${quarterlyReleaseVocabularyId}/taxonomy-categories?pageSize=0").items)! /> 
6    </#if> 
7 
8    <#if releaseCategories?has_content> 
9        <#list releaseCategories as releaseCategory> 
10            <#if (AssetCategory_name.getData())??> 
11                <#if releaseCategory.name == AssetCategory_name.getData()> 
12                    <span class="doctorBtnName">${AssetCategory_name.getData()}</span> 
13                </#if> 
14            </#if> 
15        </#list> 
16    </#if> 
17</#if> 
An error occurred while processing the template.
Java method "com.liferay.portal.vulcan.internal.template.RESTClientTemplateContextContributor$RESTClient.get(String)" threw an exception when invoked on com.liferay.portal.vulcan.internal.template.RESTClientTemplateContextContributor$RESTClient object "com.liferay.portal.vulcan.internal.template.RESTClientTemplateContextContributor$RESTClient@157e04a8"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign quarterlyReleaseVocabularyId ...  [in template "50514338544647#20120#null" at line 2, column 5]
----
1<#if AssetCategory_vocabulary.getData() == "Languages"> 
2    <#assign quarterlyReleaseVocabularyId = (restClient.get("/headless-admin-taxonomy/v1.0/sites/${themeDisplay.getSiteGroupId()}/taxonomy-vocabularies/by-external-reference-code/LANGUAGES").id)! /> 
3 
4    <#if quarterlyReleaseVocabularyId?has_content> 
5        <#assign releaseCategories = (restClient.get("/headless-admin-taxonomy/v1.0/taxonomy-vocabularies/${quarterlyReleaseVocabularyId}/taxonomy-categories?pageSize=0").items)! /> 
6    </#if> 
7 
8    <#if releaseCategories?has_content> 
9        <#list releaseCategories as releaseCategory> 
10            <#if (AssetCategory_name.getData())??> 
11                <#if releaseCategory.name == AssetCategory_name.getData()> 
12                    <span class="doctorBtnName">${AssetCategory_name.getData()}</span> 
13                </#if> 
14            </#if> 
15        </#list> 
16    </#if> 
17</#if> 

Consulation Type

What this doctor can help you with:

An error occurred while processing the template.
Java method "com.liferay.portal.vulcan.internal.template.RESTClientTemplateContextContributor$RESTClient.get(String)" threw an exception when invoked on com.liferay.portal.vulcan.internal.template.RESTClientTemplateContextContributor$RESTClient object "com.liferay.portal.vulcan.internal.template.RESTClientTemplateContextContributor$RESTClient@75c49c89"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign doctorsToSpecialities = (rest...  [in template "50514338544647#20120#null" at line 1, column 1]
----
1<#assign doctorsToSpecialities=(restClient.get("/c/doctors/${ObjectEntry_objectEntryId.getData()}/doctorsToSpecialities?fields=specialtyName%2Cid")) /> 
2<#assign specialtyName ="" /> 
3<#if doctorsToSpecialities?has_content> 
4	<#list doctorsToSpecialities.items as doctorsToSpeciality> 
5		<#if doctorsToSpeciality.specialtyName?exists> 
6			<#assign specialtyName = doctorsToSpeciality.specialtyName /> 
7			    <#break> 
8			</#if> 
9		</#list> 
10</#if> 
11	 
12<#assign name = ObjectField_name.getData()/> 
13 
14<#if (.data_model["ObjectField_773781#previewURL"].getData())?? && .data_model["ObjectField_773781#previewURL"].getData() != ""> 
15	<#assign profileImage = .data_model["ObjectField_773781#previewURL"].getData() /> 
16	<#else> 
17		<#assign profileImage = "/documents/d/dubai-health/doctor-placeholder" /> 
18</#if> 
19 
20 
21<#assign jobTitle = ObjectField_jobTitle.getData()/> 
22<script type="application/ld+json"> 
23
24  "@context": "https://schema.org", 
25  "@type": "Person", 
26	"name": "${name}", 
27	"url": "${themeDisplay.getPortalURL()}${currentURL}", 
28	"image": "${themeDisplay.getPortalURL()}${profileImage}", 
29	"jobTitle": "${jobTitle}<#if specialtyName?has_content>, ${specialtyName}</#if>" 
30
31</script>