I added this and it looks like it is getting the fatal error before getting to the curl command.
I’ve tracked the error down to this code within that same file but I still wasn’t sure why it was failing with the unserialize command.
if ($this->config->format == self::KALTURA_SERVICE_FORMAT_PHP)
{
$result = @unserialize($postResult);
if ($result === false && serialize(false) !== $postResult)
{
throw new KalturaClientException("failed to unserialize server result\n$postResult", KalturaClientException::ERROR_UNSERIALIZE_FAILED);
}
$dump = print_r($result, true);
// if(strlen($dump) < 1024)
$this->log("result (object dump): " . $dump);
}