Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while using this plugin #5

Open
fgallese opened this issue Jul 23, 2019 · 0 comments

Comments

@fgallese
Copy link

commented Jul 23, 2019

So, since installing this plugin, I've been facing some erros at the logs. Can't figure out what is causing it. Any ideas ? Thank you.

Jul 23 10:46:05 web05 nodebb[25464]: 2019-07-23T08:46:05.465Z [/var/run/nodebb/nodebb_0.sock/25597] - #033[32minfo#033[39m: [app] Shutdown (SIGTERM/SIGINT) Initialised.
Jul 23 10:46:05 web05 nodebb[25464]: 2019-07-23T08:46:05.522Z [/var/run/nodebb/nodebb_1.sock/25568] - #033[31merror#033[39m: uncaughtException: Cannot read property 'pid' of null
Jul 23 10:46:05 web05 nodebb[25464]: TypeError: Cannot read property 'pid' of null
Jul 23 10:46:05 web05 nodebb[25464]:     at totalReactions (/webdir/node_modules/nodebb-plugin-reactions/library.js:155:32)
Jul 23 10:46:05 web05 nodebb[25464]:     at /webdir/node_modules/async/dist/async.js:3880:24
Jul 23 10:46:05 web05 nodebb[25464]:     at replenish (/webdir/node_modules/async/dist/async.js:1011:17)
Jul 23 10:46:05 web05 nodebb[25464]:     at iterateeCallback (/webdir/node_modules/async/dist/async.js:995:17)
Jul 23 10:46:05 web05 nodebb[25464]:     at /webdir/node_modules/async/dist/async.js:969:16
Jul 23 10:46:05 web05 nodebb[25464]:     at /webdir/node_modules/async/dist/async.js:3885:13
Jul 23 10:46:05 web05 nodebb[25464]:     at /webdir/node_modules/nodebb-plugin-reactions/library.js:151:7
Jul 23 10:46:05 web05 nodebb[25464]:     at /webdir/src/meta/settings.js:14:3
Jul 23 10:46:05 web05 nodebb[25464]:     at /webdir/src/database/mongo/hash.js:46:4
Jul 23 10:46:05 web05 nodebb[25464]:     at returnData (/webdir/src/database/mongo/hash.js:100:4) {"error":{},"stack":"TypeError: Cannot read property 'pid' of null\n    at totalReactions (/webdir/node_modules/nodebb-plugin-reactions/library.js:155:32)\n    at /webdir/node_modules/async/dist/async.js:3880:24\n    at replenish (/webdir/node_modules/async/dist/async.js:1011:17)\n    at iterateeCallback (/webdir/node_modules/async/dist/async.js:995:17)\n    at /webdir/node_modules/async/dist/async.js:969:16\n    at /webdir/node_modules/async/dist/async.js:3885:13\n    at /webdir/node_modules/nodebb-plugin-reactions/library.js:151:7\n    at /webdir/src/meta/settings.js:14:3\n    at /webdir/src/database/mongo/hash.js:46:4\n    at returnData (/webdir/src/database/mongo/hash.js:100:4)","exception":true,"date":"Tue Jul 23 2019 10:46:05 GMT+0200 (CEST)","process":{"pid":25568,"uid":1003,"gid":1004,"cwd":"/webdir","execPath":"/usr/local/bin/node","version":"v8.11.3","argv":["/usr/local/bin/node","/webdir/app.js"],"memoryUsage":{"rss":157782016,"heapTotal":115888128,"heapUsed":104414128,"external":36517688}},"os":{"loadavg":[1.37451171875,0.8349609375,0.9990234375],"uptime":12763227},"trace":[{"column":32,"file":"/webdir/node_modules/nodebb-plugin-reactions/library.js","function":"totalReactions","line":155,"method":null,"native":false},{"column":24,"file":"/webdir/node_modules/async/dist/async.js","function":null,"line":3880,"method":null,"native":false},{"column":17,"file":"/webdir/node_modules/async/dist/async.js","function":"replenish","line":1011,"method":null,"native":false},{"column":17,"file":"/webdir/node_modules/asyn
Jul 23 10:46:05 web05 nodebb[25464]: c/dist/async.js","function":"iterateeCallback","line":995,"method":null,"native":false},{"column":16,"file":"/webdir/node_modules/async/dist/async.js","function":null,"line":969,"method":null,"native":false},{"column":13,"file":"/webdir/node_modules/async/dist/async.js","function":null,"line":3885,"method":null,"native":false},{"column":7,"file":"/webdir/node_modules/nodebb-plugin-reactions/library.js","function":null,"line":151,"method":null,"native":false},{"column":3,"file":"/webdir/src/meta/settings.js","function":null,"line":14,"method":null,"native":false},{"column":4,"file":"/webdir/src/database/mongo/hash.js","function":null,"line":46,"method":null,"native":false},{"column":4,"file":"/webdir/src/database/mongo/hash.js","function":"returnData","line":100,"method":null,"native":false}]}```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.