В журнале ошибок вот такой код:
.../public_html/core/model/modx/modprocessor.class.php : 268) Processor failed creating output array due to JSON error 5
В этом файле в этом месте вот такой код:
public function outputArray(array $array,$count = false) {
if ($count === false) { $count = count($array); }
$output = json_encode(array(
'success' => true,
'total' => $count,
'results' => $array
));
if ($output === false) {
$this->modx->log(modX::LOG_LEVEL_ERROR, 'Processor failed creating output array due to JSON error '.json_last_error());
return json_encode(array('success' => false));
}
return $output;
}
Подскажите, что делать?
Андрей 31.10.2023 14:19 #
Aizul 31.10.2023 14:27 #
PHP 7.4
Версия базы данных: 5.7.35-38, кодировка cp1251
System: Linux s6.nska.net 2.6.32-754.30.2.el6.x86_64 #1 SMP Wed Jun 10 11:14:37 UTC 2020 x86_64
LITOSH 31.10.2023 22:00 #
Aizul 01.11.2023 09:58 #
json support: enabled
LITOSH 01.11.2023 14:22 #