TypeError: /home/obdir52/web/soc52.ru/public_html/src/views/index.ejs:24
22| <base href="http://<%- host%>" />
23| <meta http-equiv="content-type" content="text/html; charset=utf-8" />
>> 24| <meta name="keywords" content='<%- contInfo[sub][2] %>' />
25| <meta name="robots" content="index, follow" />
26| <meta name="description" content='<%- contInfo[sub][2] %>' />
27|
Cannot read property '2' of undefined
at eval (/home/obdir52/web/soc52.ru/public_html/src/views/index.ejs:32:30)
at index (/home/obdir52/web/soc52.ru/public_html/node_modules/ejs/lib/ejs.js:691:17)
at tryHandleCache (/home/obdir52/web/soc52.ru/public_html/node_modules/ejs/lib/ejs.js:272:36)
at View.exports.renderFile [as engine] (/home/obdir52/web/soc52.ru/public_html/node_modules/ejs/lib/ejs.js:489:10)
at View.render (/home/obdir52/web/soc52.ru/public_html/node_modules/express/lib/view.js:135:8)
at tryRender (/home/obdir52/web/soc52.ru/public_html/node_modules/express/lib/application.js:640:10)
at Function.render (/home/obdir52/web/soc52.ru/public_html/node_modules/express/lib/application.js:592:3)
at ServerResponse.render (/home/obdir52/web/soc52.ru/public_html/node_modules/express/lib/response.js:1012:7)
at /home/obdir52/web/soc52.ru/public_html/server/routes/social-service.js:200:13
at processTicksAndRejections (internal/process/task_queues.js:97:5)