This error is displayed most of the time when I am using the SoapClient.
PHP Warning: require_once(system/core/Exceptions.php): failed to open stream: Too many open files in system/core/Common.php on line 163
Code:
public function pesquisarAcordosWebservice($id=''){
if($this->configuracao_model->verConfiguracao('webservice')->row()->status && $this->session->any < 3) {
if (!empty($ndg)) {
try {
$function = 'pesquisarAcordos';
$dados = [$function => ['id' => str_pad($id, 16, '0', STR_PAD_LEFT)]];
$client = @new soapclient($this->linkWebserviceProducao().'?wsdl', $this->authWebserviceProducao());
$options = ['location' => $this->linkWebserviceProducao()];
$err = $client->__soapCall($function, $dados, $options);
return $err;
} catch (Exception $exception) {
$exception->getMessage();
return FALSE;
}
}
}
}