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:296
294| if(modulLvl == 'staff' || modulLvl == 'structure') {
295| %>
>> 296| <%- include("mStaff.ejs") %>
297| <%
298| } else if(modulLvl == 'quantity-free-place' || modulLvl == 'quantity-recipients' || modulLvl == 'scope-of-services'){
299| %>
/home/obdir52/web/soc52.ru/public_html/src/views/mStaff.ejs:3
1| <center><b>Кадровый состав</b></center>
2|
>> 3| <%
4| let arrStaff1 = staff.data_arr.split(';')
5| let objStaff2 = {}
6|
Cannot read property 'data_arr' of undefined
at eval (/home/obdir52/web/soc52.ru/public_html/src/views/mStaff.ejs:11:23)
at mStaff (/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:419: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)