foru17 / nevecoo

nevecool
MIT License
38 stars 11 forks source link

Some errors show on the tag page #1

Open syhily opened 9 years ago

syhily commented 9 years ago

[tag.hbs] Cannot read property 'length' of undefined

foru17 commented 9 years ago

Thanks.I also found this issue. it seems that there is a bug of Ghost? Replace tag.hbs with the orginal theme one to check whether the bug from, On 周三, 4月 15, 2015 at 8:49 下午, foru17/nevecoo reply@reply.github.com wrote:[tag.hbs] Cannot read property 'length' of undefined

— Reply to this email directly or view it on GitHub [https://github.com/foru17/nevecoo/issues/1] .[https://github.com/notifications/beacon/AB1OSpeDXQr0X2po-IFPlEP2XVyRYUjKks5n_lW8gaJpZM4EBDZD.gif]

syhily commented 9 years ago

The same error, i was just wondering how to get the fully error message. Maybe the debug mode?

syhily commented 9 years ago

Ghost-1 (err): at Object.eval (eval at (/var/www/Ghost/node_modules/express-hbs/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js:209:23), :19:23) Ghost-1 (err): at ret (/var/www/Ghost/node_modules/express-hbs/node_modules/handlebars/dist/cjs/handlebars/runtime.js:144:30) Ghost-1 (err): at ret (/var/www/Ghost/node_modules/express-hbs/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js:462:21) Ghost-1 (err): Ghost-1 (err): ERROR: [tag.hbs] Cannot read property 'length' of undefined Ghost-1 (err): Rendering Error Page Ghost-1 (err): Ghost caught a processing error in the middleware layer. Ghost-1 (err): TypeError: [tag.hbs] Cannot read property 'length' of undefined Ghost-1 (err): at downzero (/var/www/Ghost/core/server/utils/downzero.js:26:26) Ghost-1 (err): at Object.content (/var/www/Ghost/core/server/helpers/content.js:26:17) Ghost-1 (err): at Object.eval (eval at (/var/www/Ghost/node_modules/express-hbs/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js:209:23), :11:72) Ghost-1 (err): at ret (/var/www/Ghost/node_modules/express-hbs/node_modules/handlebars/dist/cjs/handlebars/runtime.js:144:30) Ghost-1 (err): at ret (/var/www/Ghost/node_modules/express-hbs/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js:462:21) Ghost-1 (err): at Object.invokePartial (/var/www/Ghost/node_modules/express-hbs/node_modules/handlebars/dist/cjs/handlebars/runtime.js:208:12) Ghost-1 (err): at Object.invokePartialWrapper as invokePartial Ghost-1 (err): at Object.eval (eval at (/var/www/Ghost/node_modules/express-hbs/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js:209:23), :19:23) Ghost-1 (err): at ret (/var/www/Ghost/node_modules/express-hbs/node_modules/handlebars/dist/cjs/handlebars/runtime.js:144:30) Ghost-1 (err): at ret (/var/www/Ghost/node_modules/express-hbs/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js:462:21)

I got this error message on PM2 logs. I would trying to fix it. XD

syhily commented 9 years ago

Found The Origin Of This Error. Please Look at the loop.hbs