db search problem
when I use search
I got an error Uncaught SyntaxError: Invalid regular expression: /<!--[\s]IF ()?search_query[\s]-->([\s\S]*?)<!--[\s]ENDIF ()?search_query[\s]-->/: Stack overflow
and in the server
NodeBB version 0.7-dev
Can you also provide templates.js version, nodebb git revision and the search term that you are using?
@baris how can check templates.js version
nodebb git the latest version.. commit e528f52cfbc303732e8f3239ede86f691d59c82e
npm ls templates.jsin your nodebb directory to get the templates.js version.
Also what are you searching for when this error happens? Or is it happening on any search?
@baris firstname.lastname@example.org /root/community.hcdlearning.com/NodeBB
happening on any search
Looks like a problem with searching chinese characters, seaching for NodeBB works fine on your forum but 索 seems to give that error, we will look into it.
@raven Please run the following to update your vanilla theme to 1.0.79
npm install email@example.com.
Clear cache and try again, the problem should be resolved.