Cannot read property 'thumbnail' of undefined
at eval (eval at compile (/workspace/blog/node_modules/ejs/lib/ejs.js:549:12), :13:28)
at returnedFn (/workspace/blog/node_modules/ejs/lib/ejs.js:580:17)
at Theme._View.View._compiledSync.locals [as _compiledSync] (/workspace/blog/node_modules/hexo/lib/theme/view.js:120:22)
at Theme._View.View.View.renderSync (/workspace/blog/node_modules/hexo/lib/theme/view.js:48:23)
at Object.partial (/workspace/blog/node_modules/hexo/lib/plugins/helper/partial.js:39:15)
at Object.wrapper [as partial] (/workspace/blog/node_modules/lodash/lodash.js:4941:19)
at eval (eval at compile (/workspace/blog/node_modules/ejs/lib/ejs.js:549:12), :47:17)
at Model._Query.Query.Query.forEach (/workspace/blog/node_modules/warehouse/lib/query.js:42:5)
at eval (eval at compile (/workspace/blog/node_modules/ejs/lib/ejs.js:549:12), :12:19)
at returnedFn (/workspace/blog/node_modules/ejs/lib/ejs.js:580:17)
at Theme._View.View._compiledSync.locals [as _compiledSync] (/workspace/blog/node_modules/hexo/lib/theme/view.js:120:22)
at Theme._View.View.View.renderSync (/workspace/blog/node_modules/hexo/lib/theme/view.js:48:23)
at Object.partial (/workspace/blog/node_modules/hexo/lib/plugins/helper/partial.js:39:15)
at Object.wrapper [as partial] (/workspace/blog/node_modules/lodash/lodash.js:4941:19)
at eval (eval at compile (/workspace/blog/node_modules/ejs/lib/ejs.js:549:12), :9:17)
at returnedFn (/workspace/blog/node_modules/ejs/lib/ejs.js:580:17)
at Theme._View.View._compiled.locals [as _compiled] (/workspace/blog/node_modules/hexo/lib/theme/view.js:124:48)
at Theme._View.View.View.render (/workspace/blog/node_modules/hexo/lib/theme/view.js:29:15)
at route.set (/workspace/blog/node_modules/hexo/lib/hexo/index.js:386:29)
at tryCatcher (/workspace/blog/node_modules/bluebird/js/release/util.js:16:23)
at /workspace/blog/node_modules/bluebird/js/release/method.js:15:34
at RouteStream._read (/workspace/blog/node_modules/hexo/lib/hexo/router.js:134:3)
/hexo-theme-hueman/layout/index.ejs:1
/workspace/blog/themes/hexo-theme-hueman/layout/common/archive.ejs:19 17|
/workspace/blog/themes/hexo-theme-hueman/layout/common/summary.ejs:3 1|
2|
ppoffice
commented
6 years ago
bli940505
commented
6 years ago
ppoffice
commented
6 years ago
noraj
commented
6 years ago
- © Githubissues.
- Githubissues is a development platform for aggregating issues.
@zhangws0994 https://github.com/ppoffice/hexo-theme-hueman/blob/master/_config.yml.example#L17
@ppoffice what does that code snippet mean? I disable the thumbnail option but it's throwing the same error.
@bli940505 This means you forgot to set the
thumbnail
configuration in your_config.yml
file.Can we close this issue ?