Rozgrywki
Drużyna
The following has evaluated to null or missing: ==> playersProfileWebDTO.selectedProfile [in template "350803#350832#1422092" at line 1, column 28] ---- 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: #assign selectedProfile = playersProf... [in template "350803#350832#1422092" at line 1, column 1] ----
1<#assign selectedProfile = playersProfileWebDTO.selectedProfile />
2 <div class="player-photo">
3 <#if selectedProfile.photo?has_content>
4 <img data-imgsize="200" class="photo-background" src="${selectedProfile.photo.url}" alt="${selectedProfile.lastName} ${selectedProfile.firstName}" />
5 </#if>
6 </div>
7 <div class="player-name">
8 <h2 class="name">${selectedProfile.firstName} ${selectedProfile.lastName}</h2>
9 <#if editURL?has_content>
10 <@liferay_aui["button"] href="${editURL}" cssClass="edit-btn button-primary mobile" value="edit"/>
11 </#if>
12 </div>
13 <div class="previous-next-players container">
14 <#if playersProfileWebDTO.previousProfile?has_content>
15 <#assign previousProfile = playersProfileWebDTO.previousProfile />
16 <a href="${previousProfile.getFriendlyUrlWithLanguageId(themeDisplay)}" class="previous-player">
17 <i class="icon icon-arrow-left-dark-gray"></i>
18 ${previousProfile.firstName} ${previousProfile.lastName}
19 </a>
20 </#if>
21 <#if playersProfileWebDTO.nextProfile?has_content>
22 <#assign nextProfile = playersProfileWebDTO.nextProfile />
23 <a href="${nextProfile.getFriendlyUrlWithLanguageId(themeDisplay)}" class="next-player">
24 ${nextProfile.firstName} ${nextProfile.lastName}
25 <i class="icon icon-arrow-right-dark-gray"></i>
26 </a>
27 </#if>
28 </div>