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