@dravere Thanks a lot. Your advice is really helpful. And I solve this problem.
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?
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.