Replies: 3 comments
-
配置里都写了 你还能写错么
|
Beta Was this translation helpful? Give feedback.
0 replies
-
不好意思 好了 把#去掉就好了 |
Beta Was this translation helpful? Give feedback.
0 replies
-
抱歉抱歉 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
你好 我想问下为啥我在butterfly主题中开启打赏功能会报错 关闭了就没事 这是啥原因 烦请告知 谢谢了哈
ERROR TypeError: /root/blog/themes/butterfly/layout/post.pug:18
16|
17| if theme.reward.enable
/root/blog/themes/butterfly/layout/includes/post/reward.pug:7
5| .reward-main
6| ul.reward-all
Cannot read property 'length' of null
at eval (eval at wrap (/root/blog/node_modules/pug-runtime/wrap.js:6:10), :19:32)
at eval (eval at wrap (/root/blog/node_modules/pug-runtime/wrap.js:6:10), :70:4)
at template (eval at wrap (/root/blog/node_modules/pug-runtime/wrap.js:6:10), :72:90)
at _View._compiledSync (/root/blog/node_modules/hexo/lib/theme/view.js:132:24)
at _View.renderSync (/root/blog/node_modules/hexo/lib/theme/view.js:59:25)
at /root/blog/node_modules/hexo/lib/plugins/helper/partial.js:31:52
at Cache.apply (/root/blog/node_modules/hexo-util/lib/cache.js:27:46)
at Object.fragmentCache (/root/blog/node_modules/hexo/lib/plugins/helper/fragment_cache.js:11:34)
at Object.partial (/root/blog/node_modules/hexo/lib/plugins/helper/partial.js:31:17)
at eval (eval at wrap (/root/blog/node_modules/pug-runtime/wrap.js:6:10), :1085:46)
at template (eval at wrap (/root/blog/node_modules/pug-runtime/wrap.js:6:10), :4329:93)
at _View._compiled (/root/blog/node_modules/hexo/lib/theme/view.js:136:50)
at _View.render (/root/blog/node_modules/hexo/lib/theme/view.js:39:17)
at /root/blog/node_modules/hexo/lib/hexo/index.js:64:21
at tryCatcher (/root/blog/node_modules/bluebird/js/release/util.js:16:23)
at /root/blog/node_modules/bluebird/js/release/method.js:15:34
at RouteStream.read (/root/blog/node_modules/hexo/lib/hexo/router.js:47:5)
at RouteStream.Readable.read (node:internal/streams/readable:486:10)
at resume (node:internal/streams/readable:982:12)
at processTicksAndRejections (node:internal/process/task_queues:81:21) {
path: '/root/blog/themes/butterfly/layout/post.pug'
}
(node:5683) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency
(Use
node --trace-warnings ...
to show where the warning was created)(node:5683) Warning: Accessing non-existent property 'column' of module exports inside circular dependency
(node:5683) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency
(node:5683) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency
(node:5683) Warning: Accessing non-existent property 'column' of module exports inside circular dependency
(node:5683) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency
Beta Was this translation helpful? Give feedback.
All reactions