Sztab
Wystąpił błąd podczas przetwarzania szablonu.
The following has evaluated to null or missing:
==> player.birthday [in template "3428158#3428186#3711367" at line 67, column 55]
----
Tip: It's the step after the last dot that caused this error, not those before it.
----
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: ${player.birthday} [in template "3428158#3428186#3711367" at line 67, column 53]
----
1<#setting locale = locale>
2<div class="single-player-top-container single-player-secondary-type">
3 <div class="player-number">
4 <#if player.number != 0>
5 #${player.number}
6 </#if>
7 </div>
8 <div class="player-photo">
9 <#if player.photoMediaWebDTO??>
10 <img class="photo-background" data-imgsize="500" data-fileentryid="${player.photoMediaWebDTO.fileEntryId}" src="${player.photoMediaWebDTO.url}"
11 alt="${player.firstName} ${player.lastName}">
12 <#else>
13 <img class="photo-background" src="/o/single-player/images/photo-placeholder.png" alt="photo placeholder">
14 </#if>
15 </div>
16 <div class="player-name" style="padding-top:35px;">
17 <h2 class="name"><span>${player.firstName}</span> ${player.lastName}</h2>
18 </div>
19 <div class="player-share-widget">
20 <#if player.getExtraValue('instagram')?has_content>
21 <a href="${player.getExtraValue('instagram')}" target="_blank"><span class="icon icon-instagram-white" style="font-size:1.5rem; opacity: 0.7; color:#A88248;"></span></a>
22 </#if>
23 <#if player.getExtraValue('facebook')?has_content>
24 <a href="${player.getExtraValue('facebook')}" target="_blank"><span class="icon icon-facebook-white" style="font-size:1.5rem; opacity: 0.7; color:#A88248;"></span></a>
25 </#if>
26 <#if player.getExtraValue('twitter')?has_content>
27 <a href="${player.getExtraValue('twitter')}" target="_blank"><span class="icon icon-twitter-white" style="font-size:1.5rem; opacity: 0.7; color:#A88248;"></span></a>
28 </#if>
29 </div>
30 <#if player.getExtraValue('nickname')?has_content>
31 <div class="single-player-details">
32 <span class="title">${TranslationUtil.get("player-nick", locale, "com.stellis.liga360.bellatrix.configurator")}:</span>
33 <span class="value">${player.getExtraValue('nickname')}</span>
34 </div>
35 </#if>
36 <#if player.nationality?has_content>
37 <div class="single-player-details">
38 <span class="title" style="line-height: 24px;">${TranslationUtil.get("player-nationality", locale, "com.stellis.liga360.bellatrix.configurator")}:</span>
39 <span class="value">${player.nationality}</span>
40 </div>
41 </#if>
42 <#if player.getExtraValue('careerProgression',locale)?has_content>
43 <div class="single-player-details">
44 <span class="title">${TranslationUtil.get("player-previous-clubs", locale, "com.stellis.liga360.bellatrix.configurator")}:</span>
45 <span class="value">${player.getExtraValue('careerProgression',locale)}</span>
46 </div>
47 </#if>
48 <div class="single-player-content container">
49 <div class="single-player-content-left">
50 <#if player.getExtraValue('leadText',locale)?has_content>
51 ${player.getExtraValue('leadText',locale)}
52 </#if>
53 </div>
54 </div>
55</div>
56<div class="styled-container light-container" style="padding: 35px; background-color: white;">
57 <div class="single-player-bottom-container">
58 <div class="single-player-details">
59 <div class="single-player-details-item">
60 <span class="title">${TranslationUtil.get("player-position", locale, "com.stellis.liga360.bellatrix.configurator")}</span>
61 <i class="icon icon-team"></i>
62 <span class="value">${player.position}</span>
63 </div>
64 <div class="single-player-details-item">
65 <span class="title">${TranslationUtil.get("player-birth-date", locale, "com.stellis.liga360.bellatrix.configurator")}</span>
66 <i class="icon icon-calendar-blue"></i>
67 <span class="value">${player.birthday}</span>
68 </div>
69 <#if player.getExtraValue('height')?has_content && player.number != 0>
70 <div class="single-player-details-item">
71 <span class="title">${TranslationUtil.get("player-height", locale, "com.stellis.liga360.bellatrix.configurator")}</span>
72 <i class="icon icon-height"></i>
73 <span class="value">${player.getExtraValue('height')} cm</span>
74 </div>
75 </#if>
76 <#if player.getExtraValue('weight')?has_content && player.number != 0>
77 <div class="single-player-details-item">
78 <span class="title">${TranslationUtil.get("player-weight", locale, "com.stellis.liga360.bellatrix.configurator")}</span>
79 <i class="icon icon-scales"></i>
80 <span class="value" data-lfr-editable-id="weight-element-text" data-lfr-editable-type="text">${player.getExtraValue('weight')} kg</span>
81 </div>
82 </#if>
83 </div>
84 </div>
85 <div class="single-player-content container">
86 <div class="single-player-content-right">
87 <#if player.getExtraValue('content',locale)?has_content>
88 ${player.getExtraValue('content',locale)}
89 </#if>
90 </div>
91 </div>
92</div>
93
94
95 <style>
96 .single-player-top-container.single-player-secondary-type .player-share-widget {
97 display: flex;
98 flex-direction: row;
99 gap: 40px;
100 padding-bottom: 30px;
101 }
102
103
104 @media screen and (max-width: 991px) {
105 .single-player-top-container {
106 padding: 30px!important;
107 }
108 .single-player-top-container .player-photo {
109 margin: 0!important;
110 }
111 .icon-instagram-white,.icon-twitter-white,.icon-facebook-white {
112 font-size: 1rem;
113 }
114 .single-player-bottom-container .single-player-details-item {
115 margin: 0!important;
116 }
117 .single-player-bottom-container .single-player-details {
118 gap: 30px;
119 justify-content: center;
120 }
121 }
122 @media screen and (min-width: 992px) {
123 .single-player-bottom-container .single-player-details {
124 grid-template-columns: repeat(4, 1fr)!important;
125 }
126 .single-player-bottom-container .single-player-details-item {
127 margin:0!important;
128 }
129 .styled-container.light-container {
130 margin-top:35px;
131 }
132 }
133
134 </style>