You should really be submitting bug reports to the NodeBB GitHub page, or the respective plugin page
Solved Filter for post parse
-
Interesting, is it by design to call filter for post parsing when user enters
/register
page? -
Yeah for the terms of service block, so you can use markdown etc... Or perhaps embed a Justin Bieber YouTube video haha
-
Ok, there is problem.
Maybe TOS should have It's own filter? No? Anyway, something is
undefined
-
Well the stack trace points to your plugin
rules.js
line 44 post the code around there. -
-
Whats the output of
console.log(payload);
-
It will default to empty string now https://github.com/NodeBB/NodeBB/commit/d69d0c661486e4f463239300aa4b38c7292c8b3c that should get rid of the error. You can check postData.content in your plugin as well if you want.
-