The following has evaluated to null or missing:
==> resolveBackgroundMedia [in template "260001#260038#D3_HEADER_SECTION_BG_IMAGE_OVERLAY" at line 31, column 3]
----
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: @resolveBackgroundMedia image=image v... [in template "260001#260038#D3_HEADER_SECTION_BG_IMAGE_OVERLAY" at line 31, column 1]
----
1<#include d3_macros />
2
3<#assign hasBgImage = image?? && image.getData()?has_content />
4
5<div class="d3-header-bg-image<#if !hasBgImage>-contain</#if> aspect-ratio-bg-cover" role="img"
6 <#if image.alt_text?? && image.alt_text.getData()?has_content>
7 alt-title="${image.alt_text.getData()}"
8 </#if>
9>
10 <div class="overlay">
11 <div class="container">
12 <div class="header-text">
13 <div class="d3-col-xs-6 d3-offset-md-1 d3-col-md-8 d3-roffset-md-3 d3-offset-lg-1 d3-col-lg-7 d3-roffset-lg-4">
14 <#include d3_templates_path + "/D3_HEADER_SECTION_CONTENT" />
15 </div>
16 </div>
17 </div>
18 </div>
19
20 <#if bg_video_id??>
21 <@addBackgroundVideo videoElement=bg_video_id article_id=.vars['reserved-article-id'].data/>
22 </#if>
23</div>
24
25<#assign bg_img_element = ".d3-header-bg-image"/>
26<#if image?? && image.getData()?has_content>
27 <@addBackgroundImageStyle image=image element=bg_img_element article_id=.vars['reserved-article-id'].data/>
28</#if>
29
30<#if image?? && bg_video_id??>
31<@resolveBackgroundMedia image=image videoElement=bg_video_id element=bg_img_element article_id=.vars['reserved-article-id'].data/>
32</#if>
Latest
Annual Report 2025
Victòria Camps honoured with the Creu de Sant Jordi
74. Sesgo de género en salud
How will we feed ourselves?
What is Bioethics?
The discipline of bioethics arose in the mid-20th century in response to the rapid pace of technological and scientific change. The aim was to develop ethical thinking based on reasoned analysis to offer ethical criteria to be applied to decisions affecting life.
Qué políticas para qué cuidados
Bioethics: a look into the future
73. Salud mental y sociedad: ¿una nueva pandemia?
Awards and grants
Research grants
Seconday School Prize
Ethics and Science Award
Audiovisual Awards
Stigma and Mental Health
More bioethics
Blog with opinion articles and bioethics news.
Chair of Bioethics
The purpose of the Chair is to promote knowledge of bioethics through teaching and research