You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to create a MailApi but I'm struggling on some missing params. I don't think it relates on the package itself, but on a PHP configuration issue maybe?
The code I want to use:
$mailApi = newMailApi($url); // this line is the error$response = $mailApi->auth($mail, null, null, $token);
The fatal error I'm getting:
Fatal error: Uncaught TypeError: Zimbra\Common\Soap\Client::__construct(): Argument #2 ($httpClient) must be of type Psr\Http\Client\ClientInterface, null given, called in /app/src/main/php/vendor/zimbra-api/soap-api/src/Common/Soap/ClientFactory.php on line 44 and defined in /app/src/main/php/vendor/zimbra-api/soap-api/src/Common/Soap/Client.php:86
The code is executed by PHP 8.3 (internal PHP server).
Do you have any clue on how to make PHP handles optional parameter correctly?
Thanks!
The text was updated successfully, but these errors were encountered:
Hi there,
I'm trying to create a
MailApi
but I'm struggling on some missing params. I don't think it relates on the package itself, but on a PHP configuration issue maybe?The code I want to use:
The fatal error I'm getting:
The code is executed by PHP 8.3 (internal PHP server).
Do you have any clue on how to make PHP handles optional parameter correctly?
Thanks!
The text was updated successfully, but these errors were encountered: