Cannot read properties of undefined (reading 'length') in /home/chaberi/chaberi3/views/index.ect on line 746

TypeError: Cannot read properties of undefined (reading 'length') in /home/chaberi/chaberi3/views/index.ect on line 746
    at Object.__ectTemplate (<anonymous>:81:10)
    at TemplateContext.ECT.TemplateContext.render (/home/chaberi/chaberi3/node_modules/ect/lib/ect.js:81:25)
    at View.ECT.render [as engine] (/home/chaberi/chaberi3/node_modules/ect/lib/ect.js:81:34)
    at View.render (/home/chaberi/chaberi3/node_modules/express/lib/view.js:81:3)
    at tryRender (/home/chaberi/chaberi3/node_modules/express/lib/application.js:81:10)
    at Function.render (/home/chaberi/chaberi3/node_modules/express/lib/application.js:81:3)
    at ServerResponse.render (/home/chaberi/chaberi3/node_modules/express/lib/response.js:81:3)
    at /home/chaberi/chaberi3/routes/index.js:50:3
    at runMicrotasks (<anonymous>:null:null)
    at processTicksAndRejections (node:internal/process/task_queues:78:3)