Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Pages: 1
Hello, i have problem with dashboard.
I can see only Online visitors, other widgets are empty.
From logs:
FastCGI sent in stderr: "PHP message: PHP Fatal error: Call to undefined function safe_json_encode() in /var/www/lhc.****/lib/core/lhchat/lhchat.php on line 1639" while reading response header from upstream, client: .*.*.*.*, server: lhc.****, request: "GET /index.php/site_admin/chat/syncadmininterface/(limita)/10/(limitu)/10/(limitp)/10/(limito)/10/(limitc)/10/(limitd)/10 HTTP/1.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:"
Offline
I found in lib/core/lhchat/lhchat.php line 1639
public static function safe_json_encode($value) {
$encoded = json_encode($value);
.....
case JSON_ERROR_UTF8:
$clean = self::utf8ize($value);
return safe_json_encode($clean);
.....
Is it correct to call function from function?
P.S. Change safe_json_encode($clean); to json_encode($clean); fix the problem, but i think it is not right.
Offline
Thank you for your post in the Forum.
I AM not using FastCGI so maybe here you have to wait some one who can understand if there are issue with FastCGI or if is your server configuration issue.
Good luck.
PeopleInside - Live helper chat - free limited forum support!
For commercial support or GitHub [see FAQ here]
If you want to support this open source project, just donate [see support page]
Something wrong with the forum? [contact a superhero]
Offline
After upgrade to v.2.44 the problem is gone.
Offline
Nice, thank you for your feedback!
Happy to hear update have fixed your issue!
PeopleInside - Live helper chat - free limited forum support!
For commercial support or GitHub [see FAQ here]
If you want to support this open source project, just donate [see support page]
Something wrong with the forum? [contact a superhero]
Offline
Pages: 1