homeHomeOops, something went wrong...
/home/sinematurk/sinematurk/server/views/pages/filmDetails.pug:459 457| if filmDetails.pieces && filmDetails.pieces.length>0 458| each piece,i in filmDetails.pieces > 459| a(href=`/kisi/${piece.person.id}-${sefLink(piece.person.name)}`, style="font-weight:bold;color:#5F842E;", target="_self") 460| |#{helper.allUcFirst(piece.person.name)} 461| if piecesLen!=i+1 462| |, Cannot read properties of null (reading 'id')
View Debug Trace
TypeError: /home/sinematurk/sinematurk/server/views/pages/filmDetails.pug:459
    457|                                                                                           if filmDetails.pieces && filmDetails.pieces.length>0
    458|                                                                                                each piece,i in filmDetails.pieces
  > 459|                                                                                                     a(href=`/kisi/${piece.person.id}-${sefLink(piece.person.name)}`, style="font-weight:bold;color:#5F842E;", target="_self")
    460|                                                                                                          |#{helper.allUcFirst(piece.person.name)}
    461|                                                                                                     if piecesLen!=i+1
    462|                                                                                                          |,

Cannot read properties of null (reading 'id')
    at eval (eval at wrap (/home/sinematurk/sinematurk/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:1882:75)
    at eval (eval at wrap (/home/sinematurk/sinematurk/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:1907:4)
    at template (eval at wrap (/home/sinematurk/sinematurk/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:4744:7)
    at Object.exports.renderFile (/home/sinematurk/sinematurk/node_modules/pug/lib/index.js:454:38)
    at Object.exports.renderFile (/home/sinematurk/sinematurk/node_modules/pug/lib/index.js:444:21)
    at View.exports.__express [as engine] (/home/sinematurk/sinematurk/node_modules/pug/lib/index.js:493:11)
    at View.render (/home/sinematurk/sinematurk/node_modules/express/lib/view.js:135:8)
    at tryRender (/home/sinematurk/sinematurk/node_modules/express/lib/application.js:640:10)
    at Function.render (/home/sinematurk/sinematurk/node_modules/express/lib/application.js:592:3)
    at ServerResponse.render (/home/sinematurk/sinematurk/node_modules/express/lib/response.js:1012:7)
    at routes.<computed> (/home/sinematurk/sinematurk/server/controllers/main.js:1:81394)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)