Внутренняя ошибка сайта

Текст ошибки

{
    "reqId": "bc6f3378-c030-4e4c-8705-be91a636cd91",
    "message": "TypeError: Cannot read property 'category' of null",
    "stack": "TypeError: Cannot read property 'category' of null\n    at eval (eval at wrap (/usr/src/app/node_modules/pug-runtime/wrap.js:1:1), :400:10)\n    at eval (eval at wrap (/usr/src/app/node_modules/pug-runtime/wrap.js:1:1), :421:4)\n    at eval (eval at wrap (/usr/src/app/node_modules/pug-runtime/wrap.js:1:1), :1298:4)\n    at template (eval at wrap (/usr/src/app/node_modules/pug-runtime/wrap.js:1:1), :1435:114)\n    at Object.exports.renderFile (/usr/src/app/node_modules/pug/lib/index.js:427:38)\n    at Object.exports.renderFile (/usr/src/app/node_modules/pug/lib/index.js:417:21)\n    at View.exports.__express [as engine] (/usr/src/app/node_modules/pug/lib/index.js:464:11)\n    at View.render (/usr/src/app/node_modules/express/lib/view.js:135:8)\n    at tryRender (/usr/src/app/node_modules/express/lib/application.js:640:10)\n    at Function.render (/usr/src/app/node_modules/express/lib/application.js:592:3)\n    at ServerResponse.render (/usr/src/app/node_modules/express/lib/response.js:1012:7)\n    at /usr/src/app/dist/route/mainPage.js:162:7\n    at runMicrotasks ()\n    at processTicksAndRejections (internal/process/task_queues.js:95:5)"
}