iisnode encountered an error when processing the request.
HRESULT: 0x6d HTTP status: 500 HTTP subStatus: 1013 HTTP reason: Internal Server Error
You are receiving this HTTP 200 response because system.webServer/iisnode/@devErrorsEnabled configuration setting is 'true'.
In addition to the log of stdout and stderr of the node.exe process, consider using debugging and ETW traces to further diagnose the problem.
The last 64k of the output generated by the node.exe process to stderr is shown below:
(node:28296) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (Use `node --trace-deprecation ...` to show where the warning was created) TypeError: C:\inetpub\vhost\otosal.com\app_server\views\blog.ejs:87 85| <div class="entry-content"> 86| <%if (listCount > 1){ >> 87| %><%- blogdetails.content.substring(0,160)%>...<br><br><% 88| } else { 89| %><%- blogdetails.content%><% 90| } blogdetails.content.substring is not a function at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\blog.ejs":97:37) at Array.forEach (<anonymous>) at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\blog.ejs":61:38) at blog (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:703:17) at tryHandleCache (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:274:36) at exports.renderFile [as engine] (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:491:10) at View.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\view.js:135:8) at tryRender (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:657:10) at Function.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:609:3) at ServerResponse.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\response.js:1048:7) at res.render (C:\inetpub\vhost\otosal.com\node_modules\express-ejs-layouts\lib\express-layouts.js:77:18) at C:\inetpub\vhost\otosal.com\app_server\controller\blogController.js:196:11 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async module.exports.index (C:\inetpub\vhost\otosal.com\app_server\controller\blogController.js:188:5) TypeError: C:\inetpub\vhost\otosal.com\app_server\views\blog.ejs:87 85| <div class="entry-content"> 86| <%if (listCount > 1){ >> 87| %><%- blogdetails.content.substring(0,160)%>...<br><br><% 88| } else { 89| %><%- blogdetails.content%><% 90| } blogdetails.content.substring is not a function at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\blog.ejs":97:37) at Array.forEach (<anonymous>) at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\blog.ejs":61:38) at blog (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:703:17) at tryHandleCache (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:274:36) at exports.renderFile [as engine] (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:491:10) at View.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\view.js:135:8) at tryRender (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:657:10) at Function.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:609:3) at ServerResponse.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\response.js:1048:7) at res.render (C:\inetpub\vhost\otosal.com\node_modules\express-ejs-layouts\lib\express-layouts.js:77:18) at C:\inetpub\vhost\otosal.com\app_server\controller\blogController.js:196:11 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async module.exports.index (C:\inetpub\vhost\otosal.com\app_server\controller\blogController.js:188:5) TypeError: C:\inetpub\vhost\otosal.com\app_server\views\blog.ejs:87 85| <div class="entry-content"> 86| <%if (listCount > 1){ >> 87| %><%- blogdetails.content.substring(0,160)%>...<br><br><% 88| } else { 89| %><%- blogdetails.content%><% 90| } blogdetails.content.substring is not a function at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\blog.ejs":97:37) at Array.forEach (<anonymous>) at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\blog.ejs":61:38) at blog (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:703:17) at tryHandleCache (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:274:36) at exports.renderFile [as engine] (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:491:10) at View.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\view.js:135:8) at tryRender (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:657:10) at Function.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:609:3) at ServerResponse.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\response.js:1048:7) at res.render (C:\inetpub\vhost\otosal.com\node_modules\express-ejs-layouts\lib\express-layouts.js:77:18) at C:\inetpub\vhost\otosal.com\app_server\controller\blogController.js:196:11 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async module.exports.index (C:\inetpub\vhost\otosal.com\app_server\controller\blogController.js:188:5) TypeError: C:\inetpub\vhost\otosal.com\app_server\views\blog.ejs:87 85| <div class="entry-content"> 86| <%if (listCount > 1){ >> 87| %><%- blogdetails.content.substring(0,160)%>...<br><br><% 88| } else { 89| %><%- blogdetails.content%><% 90| } blogdetails.content.substring is not a function at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\blog.ejs":97:37) at Array.forEach (<anonymous>) at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\blog.ejs":61:38) at blog (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:703:17) at tryHandleCache (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:274:36) at exports.renderFile [as engine] (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:491:10) at View.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\view.js:135:8) at tryRender (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:657:10) at Function.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:609:3) at ServerResponse.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\response.js:1048:7) at res.render (C:\inetpub\vhost\otosal.com\node_modules\express-ejs-layouts\lib\express-layouts.js:77:18) at C:\inetpub\vhost\otosal.com\app_server\controller\blogController.js:196:11 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async module.exports.index (C:\inetpub\vhost\otosal.com\app_server\controller\blogController.js:188:5) TypeError: C:\inetpub\vhost\otosal.com\app_server\views\blog.ejs:87 85| <div class="entry-content"> 86| <%if (listCount > 1){ >> 87| %><%- blogdetails.content.substring(0,160)%>...<br><br><% 88| } else { 89| %><%- blogdetails.content%><% 90| } blogdetails.content.substring is not a function at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\blog.ejs":97:37) at Array.forEach (<anonymous>) at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\blog.ejs":61:38) at blog (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:703:17) at tryHandleCache (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:274:36) at exports.renderFile [as engine] (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:491:10) at View.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\view.js:135:8) at tryRender (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:657:10) at Function.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:609:3) at ServerResponse.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\response.js:1048:7) at res.render (C:\inetpub\vhost\otosal.com\node_modules\express-ejs-layouts\lib\express-layouts.js:77:18) at C:\inetpub\vhost\otosal.com\app_server\controller\blogController.js:196:11 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async module.exports.index (C:\inetpub\vhost\otosal.com\app_server\controller\blogController.js:188:5) TypeError: C:\inetpub\vhost\otosal.com\app_server\views\blog.ejs:87 85| <div class="entry-content"> 86| <%if (listCount > 1){ >> 87| %><%- blogdetails.content.substring(0,160)%>...<br><br><% 88| } else { 89| %><%- blogdetails.content%><% 90| } blogdetails.content.substring is not a function at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\blog.ejs":97:37) at Array.forEach (<anonymous>) at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\blog.ejs":61:38) at blog (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:703:17) at tryHandleCache (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:274:36) at exports.renderFile [as engine] (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:491:10) at View.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\view.js:135:8) at tryRender (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:657:10) at Function.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:609:3) at ServerResponse.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\response.js:1048:7) at res.render (C:\inetpub\vhost\otosal.com\node_modules\express-ejs-layouts\lib\express-layouts.js:77:18) at C:\inetpub\vhost\otosal.com\app_server\controller\blogController.js:196:11 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async module.exports.index (C:\inetpub\vhost\otosal.com\app_server\controller\blogController.js:188:5) TypeError: C:\inetpub\vhost\otosal.com\app_server\views\blog.ejs:87 85| <div class="entry-content"> 86| <%if (listCount > 1){ >> 87| %><%- blogdetails.content.substring(0,160)%>...<br><br><% 88| } else { 89| %><%- blogdetails.content%><% 90| } blogdetails.content.substring is not a function at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\blog.ejs":97:37) at Array.forEach (<anonymous>) at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\blog.ejs":61:38) at blog (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:703:17) at tryHandleCache (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:274:36) at exports.renderFile [as engine] (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:491:10) at View.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\view.js:135:8) at tryRender (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:657:10) at Function.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:609:3) at ServerResponse.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\response.js:1048:7) at res.render (C:\inetpub\vhost\otosal.com\node_modules\express-ejs-layouts\lib\express-layouts.js:77:18) at C:\inetpub\vhost\otosal.com\app_server\controller\blogController.js:196:11 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async module.exports.index (C:\inetpub\vhost\otosal.com\app_server\controller\blogController.js:188:5) TypeError: C:\inetpub\vhost\otosal.com\app_server\views\blog.ejs:87 85| <div class="entry-content"> 86| <%if (listCount > 1){ >> 87| %><%- blogdetails.content.substring(0,160)%>...<br><br><% 88| } else { 89| %><%- blogdetails.content%><% 90| } blogdetails.content.substring is not a function at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\blog.ejs":97:37) at Array.forEach (<anonymous>) at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\blog.ejs":61:38) at blog (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:703:17) at tryHandleCache (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:274:36) at exports.renderFile [as engine] (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:491:10) at View.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\view.js:135:8) at tryRender (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:657:10) at Function.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:609:3) at ServerResponse.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\response.js:1048:7) at res.render (C:\inetpub\vhost\otosal.com\node_modules\express-ejs-layouts\lib\express-layouts.js:77:18) at C:\inetpub\vhost\otosal.com\app_server\controller\blogController.js:196:11 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async module.exports.index (C:\inetpub\vhost\otosal.com\app_server\controller\blogController.js:188:5) TypeError: C:\inetpub\vhost\otosal.com\app_server\views\blog.ejs:87 85| <div class="entry-content"> 86| <%if (listCount > 1){ >> 87| %><%- blogdetails.content.substring(0,160)%>...<br><br><% 88| } else { 89| %><%- blogdetails.content%><% 90| } blogdetails.content.substring is not a function at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\blog.ejs":97:37) at Array.forEach (<anonymous>) at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\blog.ejs":61:38) at blog (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:703:17) at tryHandleCache (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:274:36) at exports.renderFile [as engine] (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:491:10) at View.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\view.js:135:8) at tryRender (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:657:10) at Function.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:609:3) at ServerResponse.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\response.js:1048:7) at res.render (C:\inetpub\vhost\otosal.com\node_modules\express-ejs-layouts\lib\express-layouts.js:77:18) at C:\inetpub\vhost\otosal.com\app_server\controller\blogController.js:196:11 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async module.exports.index (C:\inetpub\vhost\otosal.com\app_server\controller\blogController.js:188:5) TypeError: C:\inetpub\vhost\otosal.com\app_server\views\blog.ejs:87 85| <div class="entry-content"> 86| <%if (listCount > 1){ >> 87| %><%- blogdetails.content.substring(0,160)%>...<br><br><% 88| } else { 89| %><%- blogdetails.content%><% 90| } blogdetails.content.substring is not a function at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\blog.ejs":97:37) at Array.forEach (<anonymous>) at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\blog.ejs":61:38) at blog (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:703:17) at tryHandleCache (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:274:36) at exports.renderFile [as engine] (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:491:10) at View.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\view.js:135:8) at tryRender (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:657:10) at Function.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:609:3) at ServerResponse.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\response.js:1048:7) at res.render (C:\inetpub\vhost\otosal.com\node_modules\express-ejs-layouts\lib\express-layouts.js:77:18) at C:\inetpub\vhost\otosal.com\app_server\controller\blogController.js:196:11 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async module.exports.index (C:\inetpub\vhost\otosal.com\app_server\controller\blogController.js:188:5) TypeError: C:\inetpub\vhost\otosal.com\app_server\views\blog.ejs:87 85| <div class="entry-content"> 86| <%if (listCount > 1){ >> 87| %><%- blogdetails.content.substring(0,160)%>...<br><br><% 88| } else { 89| %><%- blogdetails.content%><% 90| } blogdetails.content.substring is not a function at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\blog.ejs":97:37) at Array.forEach (<anonymous>) at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\blog.ejs":61:38) at blog (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:703:17) at tryHandleCache (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:274:36) at exports.renderFile [as engine] (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:491:10) at View.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\view.js:135:8) at tryRender (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:657:10) at Function.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:609:3) at ServerResponse.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\response.js:1048:7) at res.render (C:\inetpub\vhost\otosal.com\node_modules\express-ejs-layouts\lib\express-layouts.js:77:18) at C:\inetpub\vhost\otosal.com\app_server\controller\blogController.js:196:11 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async module.exports.index (C:\inetpub\vhost\otosal.com\app_server\controller\blogController.js:188:5) TypeError: C:\inetpub\vhost\otosal.com\app_server\views\blog.ejs:87 85| <div class="entry-content"> 86| <%if (listCount > 1){ >> 87| %><%- blogdetails.content.substring(0,160)%>...<br><br><% 88| } else { 89| %><%- blogdetails.content%><% 90| } blogdetails.content.substring is not a function at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\blog.ejs":97:37) at Array.forEach (<anonymous>) at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\blog.ejs":61:38) at blog (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:703:17) at tryHandleCache (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:274:36) at exports.renderFile [as engine] (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:491:10) at View.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\view.js:135:8) at tryRender (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:657:10) at Function.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:609:3) at ServerResponse.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\response.js:1048:7) at res.render (C:\inetpub\vhost\otosal.com\node_modules\express-ejs-layouts\lib\express-layouts.js:77:18) at C:\inetpub\vhost\otosal.com\app_server\controller\blogController.js:196:11 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async module.exports.index (C:\inetpub\vhost\otosal.com\app_server\controller\blogController.js:188:5) TypeError: C:\inetpub\vhost\otosal.com\app_server\views\blog.ejs:87 85| <div class="entry-content"> 86| <%if (listCount > 1){ >> 87| %><%- blogdetails.content.substring(0,160)%>...<br><br><% 88| } else { 89| %><%- blogdetails.content%><% 90| } blogdetails.content.substring is not a function at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\blog.ejs":97:37) at Array.forEach (<anonymous>) at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\blog.ejs":61:38) at blog (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:703:17) at tryHandleCache (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:274:36) at exports.renderFile [as engine] (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:491:10) at View.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\view.js:135:8) at tryRender (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:657:10) at Function.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:609:3) at ServerResponse.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\response.js:1048:7) at res.render (C:\inetpub\vhost\otosal.com\node_modules\express-ejs-layouts\lib\express-layouts.js:77:18) at C:\inetpub\vhost\otosal.com\app_server\controller\blogController.js:196:11 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async module.exports.index (C:\inetpub\vhost\otosal.com\app_server\controller\blogController.js:188:5) TypeError: C:\inetpub\vhost\otosal.com\app_server\views\blog.ejs:87 85| <div class="entry-content"> 86| <%if (listCount > 1){ >> 87| %><%- blogdetails.content.substring(0,160)%>...<br><br><% 88| } else { 89| %><%- blogdetails.content%><% 90| } blogdetails.content.substring is not a function at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\blog.ejs":97:37) at Array.forEach (<anonymous>) at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\blog.ejs":61:38) at blog (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:703:17) at tryHandleCache (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:274:36) at exports.renderFile [as engine] (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:491:10) at View.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\view.js:135:8) at tryRender (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:657:10) at Function.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:609:3) at ServerResponse.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\response.js:1048:7) at res.render (C:\inetpub\vhost\otosal.com\node_modules\express-ejs-layouts\lib\express-layouts.js:77:18) at C:\inetpub\vhost\otosal.com\app_server\controller\blogController.js:196:11 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async module.exports.index (C:\inetpub\vhost\otosal.com\app_server\controller\blogController.js:188:5) TypeError: C:\inetpub\vhost\otosal.com\app_server\views\blog.ejs:87 85| <div class="entry-content"> 86| <%if (listCount > 1){ >> 87| %><%- blogdetails.content.substring(0,160)%>...<br><br><% 88| } else { 89| %><%- blogdetails.content%><% 90| } blogdetails.content.substring is not a function at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\blog.ejs":97:37) at Array.forEach (<anonymous>) at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\blog.ejs":61:38) at blog (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:703:17) at tryHandleCache (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:274:36) at exports.renderFile [as engine] (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:491:10) at View.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\view.js:135:8) at tryRender (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:657:10) at Function.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:609:3) at ServerResponse.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\response.js:1048:7) at res.render (C:\inetpub\vhost\otosal.com\node_modules\express-ejs-layouts\lib\express-layouts.js:77:18) at C:\inetpub\vhost\otosal.com\app_server\controller\blogController.js:196:11 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async module.exports.index (C:\inetpub\vhost\otosal.com\app_server\controller\blogController.js:188:5) Application has thrown an uncaught exception and is terminated: MongoServerError: BSON field 'skip' value must be >= 0, actual value '-28' at Connection.onMessage (C:\inetpub\vhost\otosal.com\node_modules\mongodb\lib\cmap\connection.js:231:30) at MessageStream.<anonymous> (C:\inetpub\vhost\otosal.com\node_modules\mongodb\lib\cmap\connection.js:61:60) at MessageStream.emit (node:events:517:28) at processIncomingData (C:\inetpub\vhost\otosal.com\node_modules\mongodb\lib\cmap\message_stream.js:125:16) at MessageStream._write (C:\inetpub\vhost\otosal.com\node_modules\mongodb\lib\cmap\message_stream.js:33:9) at writeOrBuffer (node:internal/streams/writable:392:12) at _write (node:internal/streams/writable:333:10) at Writable.write (node:internal/streams/writable:337:10) at Socket.ondata (node:internal/streams/readable:809:22) at Socket.emit (node:events:517:28) at addChunk (node:internal/streams/readable:368:12) at readableAddChunk (node:internal/streams/readable:341:9) at Readable.push (node:internal/streams/readable:278:10) at TCP.onStreamRead (node:internal/stream_base_commons:190:23)