I added this LoginLdap plugin (Link) to piwik and while it’s running perfectly on other machines without any problems, on my debian box it doesn’t.
Connection to LDAP server works, but as soon as I try to login via a LDAP user I get the error:
Warning: json_encode(): Invalid UTF-8 sequence in argument in /var/www/plugins/LoginLdap/GigatecLdap.php on line 41
I asked google and found that it might be a problem concerning how php json_encode() function contacts MySQL, but I just don’t know how to fix it since the PDO connection is obviously done with Zend in Piwik and I’m quite a beginner in PHP.