TypeError: /home/bas/app_ddf32226-65c4-4955-93ed-31cac5d7cb55/views/pages/classement.ejs:14
   12|                 <div class="col-sm-12">
   13|                     <h2 class="mt-4">Classements du spot :
>> 14|                         <%=  (spot == "all_spots")? "Tous les spots " + ((year == "all_time")?"":" - "+ year  ) : `${spotData.label} (${spotData.city})` + ((year == "all_time")?"":" - "+ year )  %>
   15|                     </h2>
   16|
   17|                     <% if ( !type ) { %>

Cannot read properties of null (reading 'label')
   at eval (eval at compile (/home/bas/app_ddf32226-65c4-4955-93ed-31cac5d7cb55/node_modules/ejs/lib/ejs.js:549:12), <anonymous>:30:124)
   at returnedFn (/home/bas/app_ddf32226-65c4-4955-93ed-31cac5d7cb55/node_modules/ejs/lib/ejs.js:580:17)
   at tryHandleCache (/home/bas/app_ddf32226-65c4-4955-93ed-31cac5d7cb55/node_modules/ejs/lib/ejs.js:223:34)
   at exports.renderFile [as engine] (/home/bas/app_ddf32226-65c4-4955-93ed-31cac5d7cb55/node_modules/ejs/lib/ejs.js:437:10)
   at View.render (/home/bas/app_ddf32226-65c4-4955-93ed-31cac5d7cb55/node_modules/express/lib/view.js:135:8)
   at tryRender (/home/bas/app_ddf32226-65c4-4955-93ed-31cac5d7cb55/node_modules/express/lib/application.js:640:10)
   at Function.render (/home/bas/app_ddf32226-65c4-4955-93ed-31cac5d7cb55/node_modules/express/lib/application.js:592:3)
   at ServerResponse.render (/home/bas/app_ddf32226-65c4-4955-93ed-31cac5d7cb55/node_modules/express/lib/response.js:1008:7)
   at /home/bas/app_ddf32226-65c4-4955-93ed-31cac5d7cb55/routes/index.js:226:21
   at /home/bas/app_ddf32226-65c4-4955-93ed-31cac5d7cb55/services/spotsService.js:23:17