TypeError: /home/obdir52/web/soc52.ru/public_html/src/views/index.ejs:205
203|
204| <% if(contentType != 'newsMain' && contentType != 'newsFullText' && contentType != 'anticorrAndStatement' && contentType != 'quality' && contentType != 'sitemap' && contentType != 'reestr' && contentType != 'ipr' && contentType != 'computer' && contentType != 'gosuslugi' && contentType != 'taxi' && contentType != 'contests' && contentType != 'ras' && contentType != 'searchResult' && contentType != 'searchItem' && contentType != 'appoint' && contentType != 'support-platform') { %>
>> 205| <%- include("content.ejs") %>
206| <%}%>
207|
208| <% if(contentType == 'searchResult') {%>
/home/obdir52/web/soc52.ru/public_html/src/views/content.ejs:300
298| } else if(modulLvl == 'quantity-free-place' || modulLvl == 'quantity-recipients' || modulLvl == 'scope-of-services'){
299| %>
>> 300| <%- include("mRep.ejs") %>
301| <%
302| }
303| }
/home/obdir52/web/soc52.ru/public_html/src/views/mRep.ejs:1
>> 1| <%
2|
3| let arrStaff1 = staff.data_arr.split(';')
4| let objStaff2 = {}
Cannot read property 'data_arr' of undefined
at eval (/home/obdir52/web/soc52.ru/public_html/src/views/mRep.ejs:10:23)
at mRep (/home/obdir52/web/soc52.ru/public_html/node_modules/ejs/lib/ejs.js:691:17)
at include (/home/obdir52/web/soc52.ru/public_html/node_modules/ejs/lib/ejs.js:689:39)
at eval (/home/obdir52/web/soc52.ru/public_html/src/views/content.ejs:428:17)
at content (/home/obdir52/web/soc52.ru/public_html/node_modules/ejs/lib/ejs.js:691:17)
at include (/home/obdir52/web/soc52.ru/public_html/node_modules/ejs/lib/ejs.js:689:39)
at eval (/home/obdir52/web/soc52.ru/public_html/src/views/index.ejs:74:17)
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)