Zoho CRM PHP SDK在创建潜在客户时抛出异常

So~

Im implementing the Zoho PHP SDK to connect a form to the leads CRM. However im running into a very weird error that im not being able to find any previous existence of.

Im calling:

$module = \ZCRMModule::getInstance('Leads');

$record = \ZCRMRecord::getInstance('Leads', null);
$record->setFieldValue('First_Name', $data['name']);
$record->setFieldValue('Last_Name', $data['last_name']);
$record->setFieldValue('Email', $data['email']);
$record->setFieldValue('Phone', $data['phone']);
$record->setFieldValue('Company', $data['company']);
$record->setFieldValue('Cuantos_empleados_tiene_la_empresa', $data['employees']);
$record->setFieldValue('Tienes_proyecto_por_implementar', $data['project']);

if ($data['service'] !== 'ninguno') {
    $record->setFieldValue('En_qu_servicio_est_interesado', $data['service']);
}

$response = $module->createRecords([$record]);
$entityResponses = $response->getEntityResponses();

However, ZohoHTTPConnector.php on line 34 is throwing an exception, becuase its trying to count() a variable which is null:

if(count(self::getRequestParamsMap())>0)

The Connector itself on APIRequest.php seems to be in good shape, but when the fireRequest happens everything dies because self::getRequestParamsMap is returning null.

ZohoHTTPConnector {#209
  -url: "https://www.zohoapis.com/crm/v2/Leads"
  -requestParams: null
  -requestHeaders: array:2 [
    "Content-Type" => "application/json"
    "Authorization" => "Zoho-oauthtoken <REDACTED>"
  ]
  -requestParamCount: 0
  -requestBody: array:1 [
    "data" => array:1 [
      0 => array:8 [
        "First_Name" => "First Name"
        "Last_Name" => "Last Name"
        "Email" => "mail@mail.com"
        "Phone" => "5555555555"
        "Company" => "Test"
        "Cuantos_empleados_tiene_la_empresa" => "26-50"
        "Tienes_proyecto_por_implementar" => "en 6 meses"
        "En_qu_servicio_est_interesado" => "nube"
      ]
    ]
  ]
  -requestType: "POST"
  -userAgent: "ZohoCRM PHP SDK"
  -apiKey: null
  -isBulkRequest: true
}

Any help is greatly appreciated.