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.js in 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?
npm ls templates.js
@baris [email protected] /root/community.hcdlearning.com/NodeBB
└── [email protected]
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 protected].
npm install [email protected]
Clear cache and try again, the problem should be resolved.