Cannot read property 'tiny' of undefined

TypeError: Cannot read property 'tiny' of undefined at eval (eval at wrap (/var/app/current/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:27:29542) at template (eval at wrap (/var/app/current/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:27:60823) at wrappedTemplate (/var/app/current/node_modules/elastic-apm-node/lib/instrumentation/template-shared.js:15:26) at Object.exports.renderFile (/var/app/current/node_modules/pug/lib/index.js:427:38) at Object.exports.renderFile (/var/app/current/node_modules/pug/lib/index.js:417:21) at View.exports.__express [as engine] (/var/app/current/node_modules/pug/lib/index.js:464:11) at View.render (/var/app/current/node_modules/express/lib/view.js:135:8) at tryRender (/var/app/current/node_modules/express/lib/application.js:640:10) at Function.render (/var/app/current/node_modules/express/lib/application.js:592:3) at ServerResponse.render (/var/app/current/node_modules/express/lib/response.js:1008:7) at router.get (/var/app/current/routes/blog.js:37:109) at Layer.handle [as handle_request] (/var/app/current/node_modules/express/lib/router/layer.js:95:5) at next (/var/app/current/node_modules/express/lib/router/route.js:137:13) at exports.meta (/var/app/current/controllers/blog/index.js:182:13) at Layer.handle [as handle_request] (/var/app/current/node_modules/express/lib/router/layer.js:95:5) at next (/var/app/current/node_modules/express/lib/router/route.js:137:13) at async.parallel (/var/app/current/controllers/blog/index.js:160:5) at /var/app/current/node_modules/async/dist/async.js:3888:9 at /var/app/current/node_modules/async/dist/async.js:473:16 at iterateeCallback (/var/app/current/node_modules/async/dist/async.js:992:24) at /var/app/current/node_modules/async/dist/async.js:969:16 at /var/app/current/node_modules/async/dist/async.js:3885:13 at wordpress.formatPosts (/var/app/current/controllers/blog/index.js:142:7) at async.map (/var/app/current/controllers/blog/index.js:86:5) at /var/app/current/node_modules/async/dist/async.js:1140:9 at /var/app/current/node_modules/async/dist/async.js:473:16 at iteratorCallback (/var/app/current/node_modules/async/dist/async.js:1064:13) at /var/app/current/node_modules/async/dist/async.js:969:16 at /var/app/current/node_modules/async/dist/async.js:1137:13 at imgClient.generate (/var/app/current/controllers/blog/index.js:81:7) at Object.exports.generate (/var/app/current/controllers/image/index.js:13:60) at async.map (/var/app/current/controllers/blog/index.js:61:15) at /var/app/current/node_modules/async/dist/async.js:1135:9 at eachOfArrayLike (/var/app/current/node_modules/async/dist/async.js:1069:9) at eachOf (/var/app/current/node_modules/async/dist/async.js:1117:5) at _asyncMap (/var/app/current/node_modules/async/dist/async.js:1133:5) at Object.map (/var/app/current/node_modules/async/dist/async.js:1122:16) at Object.wordpress.formatPosts (/var/app/current/controllers/blog/index.js:59:9) at wp.posts.slug.embed.get (/var/app/current/controllers/blog/index.js:141:15) at Promise.then.then (/var/app/current/node_modules/wpapi/lib/http-transport.js:207:4) at process._tickCallback (internal/process/next_tick.js:68:7)