library · inferred from evidence
Brevo PHP SDK
A PHP SDK provided by Brevo for interacting with their API.
- Brevo PHP SDK: "User Warning: Timeout option is not supported for the current PSR-18 client (GuzzleHttp\Client)"
This is a generator bug: class_exists() was used where interface_exists() was needed, so the SDK never detected Guzzle. The generator was fixed upstream and the corrected SDK shipped in 4.0.14, which is live on Packagist.
- Brevo PHP SDK v4.0.7: ContactsClient::createContact() throws "Failed to deserialize response: Syntax error"
How to fix: Brevo PHP SDK v4.0.7: ContactsClient::createContact() throws "Failed to deserialize response: Syntax error". The verified fix from the maintainer thread, distilled into reusable steps.
- Brevo PHP SDK v4.0.7: ContactsClient::createContact() throws "Failed to deserialize response: Syntax error"
What this covers: On getbrevo/brevo-php v4.0.7 with PHP 8.4, calling ContactsClient::createContact() throws Brevo\Exceptions\BrevoException: Failed to deserialize response: Syntax error with a nested JsonException(code: 4). The fix that wor
- Brevo PHP SDK: "Cannot serialize value of type boolean with any of the union types: float | string | bool | array"
Brevo PHP SDK: "Cannot serialize value of type boolean with any of the union types: float | string | bool | array". This is a serializer bug in the v4 SDK: it never matched "bool" against gettype()'s "boolean".