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:22636) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'toLocaleLowerCase' of null
    at C:\inetpub\www.toniceyewear.com.au\publish\tonic.bundle.js:1144:43
    at arrayFilter (C:\inetpub\www.toniceyewear.com.au\node_modules\lodash\lodash.js:574:11)
    at Function.filter (C:\inetpub\www.toniceyewear.com.au\node_modules\lodash\lodash.js:9165:14)
    at C:\inetpub\www.toniceyewear.com.au\publish\tonic.bundle.js:1143:30
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)
(node:22636) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:22636) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:22636) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'toLocaleLowerCase' of null
    at C:\inetpub\www.toniceyewear.com.au\publish\tonic.bundle.js:1144:43
    at arrayFilter (C:\inetpub\www.toniceyewear.com.au\node_modules\lodash\lodash.js:574:11)
    at Function.filter (C:\inetpub\www.toniceyewear.com.au\node_modules\lodash\lodash.js:9165:14)
    at C:\inetpub\www.toniceyewear.com.au\publish\tonic.bundle.js:1143:30
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)
(node:22636) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:22636) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'toLocaleLowerCase' of null
    at C:\inetpub\www.toniceyewear.com.au\publish\tonic.bundle.js:1144:43
    at arrayFilter (C:\inetpub\www.toniceyewear.com.au\node_modules\lodash\lodash.js:574:11)
    at Function.filter (C:\inetpub\www.toniceyewear.com.au\node_modules\lodash\lodash.js:9165:14)
    at C:\inetpub\www.toniceyewear.com.au\publish\tonic.bundle.js:1143:30
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)
(node:22636) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)
(node:22636) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'toLocaleLowerCase' of null
    at C:\inetpub\www.toniceyewear.com.au\publish\tonic.bundle.js:1144:43
    at arrayFilter (C:\inetpub\www.toniceyewear.com.au\node_modules\lodash\lodash.js:574:11)
    at Function.filter (C:\inetpub\www.toniceyewear.com.au\node_modules\lodash\lodash.js:9165:14)
    at C:\inetpub\www.toniceyewear.com.au\publish\tonic.bundle.js:1143:30
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)
(node:22636) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4)
(node:22636) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'toLocaleLowerCase' of null
    at C:\inetpub\www.toniceyewear.com.au\publish\tonic.bundle.js:1144:43
    at arrayFilter (C:\inetpub\www.toniceyewear.com.au\node_modules\lodash\lodash.js:574:11)
    at Function.filter (C:\inetpub\www.toniceyewear.com.au\node_modules\lodash\lodash.js:9165:14)
    at C:\inetpub\www.toniceyewear.com.au\publish\tonic.bundle.js:1143:30
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)
(node:22636) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 5)
TypeError: C:\inetpub\www.toniceyewear.com.au\publish\views\singleBlog.ejs:14
    12|     <% } %>

    13|     <% include partials/common/head %>

 >> 14|     <meta itemprop="image" content="<%= photoPath %><%= post.attachments[0].url + '?w=800' %>">

    15|     <meta property="og:type" content="website">

    16|     <meta property="og:title" content="<%= post.title %>">

    17|     <meta property="og:image" content="<%= photoPath %><%= post.attachments[0].url + '?w=800' %>">


Cannot read property 'url' of undefined
    at eval (eval at compile (C:\inetpub\www.toniceyewear.com.au\node_modules\ejs\lib\ejs.js:549:12), <anonymous>:34:46)
    at returnedFn (C:\inetpub\www.toniceyewear.com.au\node_modules\ejs\lib\ejs.js:580:17)
    at tryHandleCache (C:\inetpub\www.toniceyewear.com.au\node_modules\ejs\lib\ejs.js:223:34)
    at View.exports.renderFile [as engine] (C:\inetpub\www.toniceyewear.com.au\node_modules\ejs\lib\ejs.js:437:10)
    at View.render (C:\inetpub\www.toniceyewear.com.au\node_modules\express\lib\view.js:135:8)
    at tryRender (C:\inetpub\www.toniceyewear.com.au\node_modules\express\lib\application.js:640:10)
    at Function.render (C:\inetpub\www.toniceyewear.com.au\node_modules\express\lib\application.js:592:3)
    at ServerResponse.render (C:\inetpub\www.toniceyewear.com.au\node_modules\express\lib\response.js:1008:7)
    at ServerResponse.res.render (C:\inetpub\www.toniceyewear.com.au\node_modules\express-minify-html\minifier.js:81:14)
    at C:\inetpub\www.toniceyewear.com.au\publish\tonic.bundle.js:1223:17
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)