Server crashes when viewing posts
-
I'm getting this error whenever I try to open a thread. Everything else seems to work. I have an installation on one of my PCs that works fine. The only real difference is that that server has mongo 2.4.10 from the Debian repos and this one has mongo 3.2.0. Mongo does work and I have a non-nodebb site using it that works fine. Thanks for any help.
28/12 06:00 [18714] - error: TypeError: Converting circular structure to JSON
at Object.stringify (native)
at ServerResponse.json (/var/www/nodebb/node_modules/express/lib/response.js:242:19)
at ServerResponse.res.render (/var/www/nodebb/src/middleware/render.js:42:16)
at /var/www/nodebb/src/controllers/topics.js:287:8
at fireFilterHook (/var/www/nodebb/src/plugins/hooks.js:86:11)
at Object.Plugins.fireHook (/var/www/nodebb/src/plugins/hooks.js:70:5)
at /var/www/nodebb/src/controllers/topics.js:283:11
at /var/www/nodebb/node_modules/async/lib/async.js:52:16
at Immediate._onImmediate (/var/www/nodebb/node_modules/async/lib/async.js:1201:34)
at processImmediate [as _immediateCallback] (timers.js:384:17)
TypeError: Converting circular structure to JSON
at Object.stringify (native)
at ServerResponse.json (/var/www/nodebb/node_modules/express/lib/response.js:242:19)
at ServerResponse.res.render (/var/www/nodebb/src/middleware/render.js:42:16)
at /var/www/nodebb/src/controllers/topics.js:287:8
at fireFilterHook (/var/www/nodebb/src/plugins/hooks.js:86:11)
at Object.Plugins.fireHook (/var/www/nodebb/src/plugins/hooks.js:70:5)
at /var/www/nodebb/src/controllers/topics.js:283:11
at /var/www/nodebb/node_modules/async/lib/async.js:52:16
at Immediate._onImmediate (/var/www/nodebb/node_modules/async/lib/async.js:1201:34)
at processImmediate [as _immediateCallback] (timers.js:384:17)
28/12 06:00 [18714] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
28/12 06:00 [18714] - info: [app] Database connection closed.
28/12 06:00 [18714] - info: [app] Web server closed to connections.
28/12 06:00 [18714] - info: [app] Shutdown complete.
[cluster] Child Process (18714) has exited (code: 1, signal: null)
[cluster] Spinning up another process... -
This post is deleted!