Project

General

Profile

Actions

Bug #75403

closed

json_encode-Problem

Added by Chili no-lastname-given about 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-04-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

I updated from 6.2.14 to 6.2.19 and the error still appears
Core: Error handler (BE): PHP Warning: json_encode(): Invalid UTF-8 sequence in argument in /.../typo3_src/typo3_src-6.2.14/typo3/sysext/core/Classes/Log/Writer/FileWriter.php line 125

and I can still fix it with:

array_walk_recursive($recordData, function(&$item, $key){
if(!mb_detect_encoding($item, 'utf-8', true)){
$item = utf8_encode($item);
}
});

No, I don't know where the non UTF8 chars come from - how can I check that?

This error is related to https://forge.typo3.org/issues/68582


Files

recordData.log (111 Bytes) recordData.log Chili no-lastname-given, 2016-04-08 08:12

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #68582: json_encode-ProblemClosed2015-07-28

Actions
Actions

Also available in: Atom PDF