[horde] Invalid UTF-8 sequence in argument

Lukas Haase lukashaase at gmx.at
Mon Feb 17 21:46:38 UTC 2014


On 2014-02-10 1:26, Jan Schneider wrote:
> Zitat von Lukas Haase <lukashaase at gmx.at>:
>> Hi all,
>>
>> After upgrading from Debians old horde+imp to horde groupware 5, I get
>> for some users the following messeages in the log:
>>
>> HORDE: [horde] PHP ERROR: json_encode(): Invalid UTF-8 sequence in
>> argument [pid 8843 on line 314 of "/usr/share/php/Horde/Prefs/Scope.php"]
>>
>> I looked in this file, tried to debug but I couldn't find the problem. I
>> do not want to reset their settings/preferences.
> 
> Probably some messed up charset of preference values when changing
> charset settings during one upgrade in the past. There isn't much you
> can do than finding out which of their preferences is the culprit, and
> deleting it.

Thanks, Jan.

Is there a "good" way to debug this? For example, can I export all
preferences of this user to a file and pipe it through a PHP script with
a particular function to see in which value it fails?

Thanks
Luke




More information about the horde mailing list