It's my admin dashboard.
I tried ./nodebb build now run in dev mode.
Not sure why, but sometimes when I'm trying to post a new topic, it does this. I usually just have to discard the topic and redo it and it works.
Probably same issue as this https://github.com/NodeBB/NodeBB/issues/1810, haven't found proper repro steps yet.
One of my members including me just had the same problem but it happens every blue moon. It's totally weird.
You can add 2
console.logs to pinpoint which part of the code is sending the error.
Before this line add
console.log('title too short - server check', title, meta.config.minimumTitleLength); and before this line add
console.log('title too short - client check', titleEl.val(), config.minimumTitleLength);
If it happens again check the browser/server logs for the output.
Definitely will do this and monitor this. Thanks!
Will see if it helps too.
That shouldn't effect new topics/posts but it's good to have, before that it was possible to edit the main post and go above the maximum title length.
Ouch, so it was bug nonetheless. Thanks @baris !