Logs json_encode compatibility issue