The method createRecord() does not exist on Surge\LaravelSalesforce\Objects\Account. Did you maybe mean create()?
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being
renamed likewise.
Loading history...
19
}
20
21
/**
22
* Check if account already exists on SF.
23
*
24
* @param string $email
25
*
26
* @return bool|array
27
*/
28
public function checkAlreadyExists($email)
29
{
30
$query = 'SELECT Id, OwnerId FROM '.$this->getType().' WHERE PersonEmail = \''.addslashes(trim($email)).'\' AND RecordTypeId = \''.config('laravel-salesforce.record_type.account').'\'';
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.