*************** error log start ***************
request method: GET
request originalUrl: /proDetail?compId=6376&proId=1432282794
request client ip: ::ffff:127.0.0.1
request query: {"compId":"6376","proId":"1432282794"}
response time: 0.75s
err name: TypeError
err message: /data/wwwroot/xumuq.com/src/views/pages/proDetail.ejs:170
168| <div class="enterprise-procate mt30 fc7">
169| <h1 class="fz24 mb10">产品分类</h1>
>> 170| <% proDetailcate.result.forEach((item, key) => {
171| if (key < 6) {%>
172| <div class="enterprise-procate-con fz14">
173| <a href="/company/companyPro?type=companyPro&compId=<%= companyId%>" target="_blank">
Cannot read property 'forEach' of null
err stack: TypeError: /data/wwwroot/xumuq.com/src/views/pages/proDetail.ejs:170
168| <div class="enterprise-procate mt30 fc7">
169| <h1 class="fz24 mb10">产品分类</h1>
>> 170| <% proDetailcate.result.forEach((item, key) => {
171| if (key < 6) {%>
172| <div class="enterprise-procate-con fz14">
173| <a href="/company/companyPro?type=companyPro&compId=<%= companyId%>" target="_blank">
Cannot read property 'forEach' of null
at eval (eval at compile (/data/wwwroot/xumuq.com/node_modules/ejs/lib/ejs.js:633:12), <anonymous>:111:30)
at returnedFn (/data/wwwroot/xumuq.com/node_modules/ejs/lib/ejs.js:668:17)
at /data/wwwroot/xumuq.com/node_modules/consolidate/lib/consolidate.js:645:16
at /data/wwwroot/xumuq.com/node_modules/consolidate/lib/consolidate.js:161:5
at Promise._execute (/data/wwwroot/xumuq.com/node_modules/bluebird/js/release/debuggability.js:313:9)
at Promise._resolveFromExecutor (/data/wwwroot/xumuq.com/node_modules/bluebird/js/release/promise.js:488:18)
at new Promise (/data/wwwroot/xumuq.com/node_modules/bluebird/js/release/promise.js:79:10)
at promisify (/data/wwwroot/xumuq.com/node_modules/consolidate/lib/consolidate.js:154:10)
at Function.exports.ejs.render (/data/wwwroot/xumuq.com/node_modules/consolidate/lib/consolidate.js:641:10)
at /data/wwwroot/xumuq.com/node_modules/consolidate/lib/consolidate.js:181:27
at /data/wwwroot/xumuq.com/node_modules/consolidate/lib/consolidate.js:101:5
at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:61:3)
*************** error log end ***************