Error after purging a category (async?)
Solved
Technical Support
-
Hello all, I've run into a nasty problem. I initially wanted to move a category on my forums outside of its parent category and that worked fine but for some reason the link still displayed inside the old parent. I then proceeded to purge the cat I just moved but after that my forum wouldn't start up again.
I've tried ./nodebb reset -a and ./nodebb reset -p to all plugins to no avail.
Here's the particular I'm getting:
error: TypeError: Cannot read property 'cid' of null at async.waterfall.category.children (/var/www/html/forums/src/categories.js:330:43) at fn (/var/www/html/forums/node_modules/async/lib/async.js:717:34) at /var/www/html/forums/node_modules/async/lib/async.js:1170:16 at /var/www/html/forums/node_modules/async/lib/async.js:172:37 at /var/www/html/forums/node_modules/async/lib/async.js:677:43 at /var/www/html/forums/node_modules/async/lib/async.js:173:37 at Object.async.waterfall (/var/www/html/forums/node_modules/async/lib/async.js:681:44) at getChildrenRecursive (/var/www/html/forums/src/categories.js:328:9) at /var/www/html/forums/src/categories.js:348:6 at /var/www/html/forums/node_modules/async/lib/async.js:187:20
Any way to fix this?
Thanks! -
This post is deleted!
Copyright © 2024 NodeBB | Contributors