@StuartH it may have to do with how often NodeBB calls the filter:footer.build hook, and since it's a SINGLE PAGE APP, it's not much, I've seen that weirdness, but I am not too sure what to do about it, the filter is pretty straight forward. what you can do to verify that's the footer code is being generated correctly, is to view-source of the page, then search for nodebb-plugin-42 comment.
Nodebb shuts down(502 bad gateway)
Tilen Štraus last edited by
I ran into some problem with NodeBB. I'm working with google apps script, taking data from a spreadsheet and inserting it into NodeBB via write api. First I insert a Category. then I insert another Category and update it's ParentID from the previously inserted Category, then I insert the topic and lastly I insert the post to the topic. After this procedure everything shuts down:
29/8 15:00  - error: TypeError: data.content.rtrim is not a function(output.log),
- (inside google script editor)
And in another scenario where I already inserted Category and Category with updated ParentID everything works fine no errors no shutdown.
Can you provide a full server stack trace from the server?
Bad gateway might occur due to an incorrect setting in your Proxy.
It is recommended by me to use Nginx as it is easy to setup and apparently automatically recovers after a bad gateway.
What Operating System Are you using?