Solved Error when loading the callus.js script

Status
Not open for further replies.

François (tebu-bio)

New User
Joined
Nov 29, 2018
Messages
57
Reaction score
11
"Uncaught SyntaxError: Invalid regular expression: /[^a-zA-Z·À-ÖØ-öø-ͽͿ-῿‌-â€â€¿-â€â°-â†â°€-⿯ã€-퟿豈-ï·ï·°-�.$_\d]/: Range out of order in character class
at new RegExp (<anonymous>)
at Module.<anonymous> (callus.js:12)
at Module.<anonymous> (callus.js:12)
at n (callus.js:1)
at Module.<anonymous> (callus.js:32)
at n (callus.js:1)
at callus.js:1
at callus.js:1
at callus.js:1
at callus.js:1"

I'm testing the plugin on a non Wordpress website. It seems that there are characters not recognized, when I open the JS with a text editor and look for this, it indeed looks quite weird. Anybody else having this problem ?
 
Hello,

On the line that you reference your callus.js file, please make sure that you have set the encoding.

<head><script src="assets/callus.js" charset="UTF-8"></script></head>

https://www.3cx.com/docs/manual/live-chat/

Thank you .
 
Perfect, thank you, it did fix it ! :)
 
Status
Not open for further replies.

Forum statistics

Threads
112,147
Messages
590,961
Members
165,167
Latest member
Finatra.us