homeHomeOops, something went wrong...
/home/sinematurk/sinematurk/server/views/pages/filmDetails.pug:408 406| if filmDetails.producers && filmDetails.producers.length>0 407| each producer,i in filmDetails.producers > 408| a(href=`/kisi/${producer.person.id}-${sefLink(producer.person.name)}`, style="font-weight:bold;color:#5F842E;", target="_self") 409| |#{helper.allUcFirst(producer.person.name)} 410| if producersLen!=i+1 411| |, Cannot read properties of null (reading 'id')
View Debug Trace
TypeError: /home/sinematurk/sinematurk/server/views/pages/filmDetails.pug:408
    406|                                                                                           if filmDetails.producers && filmDetails.producers.length>0
    407|                                                                                                each producer,i in filmDetails.producers
  > 408|                                                                                                     a(href=`/kisi/${producer.person.id}-${sefLink(producer.person.name)}`, style="font-weight:bold;color:#5F842E;", target="_self")
    409|                                                                                                          |#{helper.allUcFirst(producer.person.name)}
    410|                                                                                                     if producersLen!=i+1
    411|                                                                                                          |, 

Cannot read properties of null (reading 'id')
    at eval (eval at wrap (/home/sinematurk/sinematurk/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:1705:78)
    at eval (eval at wrap (/home/sinematurk/sinematurk/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:1730: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 processTicksAndRejections (node:internal/process/task_queues:96:5)