TypeError: /usr/src/app/views/procare/front-end/product-detail.pug:58
56| "@type": "Product",
57| "name": "#{product.name}",
> 58| "image": "#{baseUrl}#{images[0].thumb}",
59| "description": "#{header.description}",
60| "mpn": "#{product._id}",
61| "brand": {
Cannot read property 'thumb' of undefined
at eval (eval at wrap (/usr/src/app/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:1891:67)
at template (eval at wrap (/usr/src/app/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:4354:72)
at Object.exports.renderFile (/usr/src/app/node_modules/pug/lib/index.js:427:38)
at Object.exports.renderFile (/usr/src/app/node_modules/pug/lib/index.js:417:21)
at View.exports.__express [as engine] (/usr/src/app/node_modules/pug/lib/index.js:464:11)
at View.render (/usr/src/app/node_modules/express/lib/view.js:135:8)
at tryRender (/usr/src/app/node_modules/express/lib/application.js:640:10)
at Function.render (/usr/src/app/node_modules/express/lib/application.js:592:3)
at ServerResponse.render (/usr/src/app/node_modules/express/lib/response.js:1012:7)
at ServerResponse.res.render (/usr/src/app/api/bootstrap.js:104:16)
at RenderService.render (/usr/src/app/api/services/RenderService.js:28:17)
at /usr/src/app/api/controllers/ProductController.js:410:18
at /usr/src/app/node_modules/async/dist/async.js:473:16
at processQueue (/usr/src/app/node_modules/async/dist/async.js:1578:20)
at taskComplete (/usr/src/app/node_modules/async/dist/async.js:1601:9)
at /usr/src/app/node_modules/async/dist/async.js:1625:17