library · inferred from evidence
getbrevo/brevo-php
PHP SDK for Brevo API interactions, version 2.0.7 mentioned with a breaking change in parameter order for updateContact.
- Brevo PHP SDK v4: PHP Fatal error Class "Brevo\Client\Configuration" not found
After upgrading from getbrevo/brevo-php 2.x to 4.x, existing code fatals with: PHP Fatal error: Uncaught Error: Class "Brevo\Client\Configuration" not found. The 2.x code built a Configuration object via Brevo\Client\Configuration::getDefau
- Brevo PHP SDK: "Cannot serialize value of type boolean with any of the union types: float | string | bool...
Passing a boolean value in a field typed as a union, like the attributes map on CreateContactRequest, throws: Cannot serialize value of type boolean with any of the union types: float | string | bool | array. In src/Core/Json/JsonSerializer
- Brevo PHP SDK v4.0.7: ContactsClient::createContact() throws "Failed to deserialize response: Syntax error"
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 HTTP request itself succeeds a