This file needs to show the one you upload, it might be getting cached by nginx and nodebb, so try restarting both.
yes, nginx restart solved the issue. Thanks 👍
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?
This is possibly fixed on master, what git hash are you on?
@baris Here's the hash: 1cf94c08ac6e5f3b05feef94a493a081d52444c9 / shortened: 1cf94c0
Try updating to master.
@baris Thank you! Seems like it solved my problem however I've run into a new issue after upgrading to master. Here's a screenshot illustrating the problem:
Are you using nodebb-theme-persona? Update it to latest.
@baris I'm using a modified version of the lavender theme. It has bits mixed in from persona but this was working before the upgrade.
In that case in your theme do this https://github.com/NodeBB/nodebb-theme-vanilla/commit/3d3e21b5cfb3c9ec9891cbace06514984f21468d
@baris Alright, thank you for all your help!