Brevo PHP SDK: "Cannot serialize value of type boolean with any of the union types: float | string | bool...
This is a serializer bug in the v4 SDK: it never matched "bool" against gettype()'s "boolean". It was fixed in v4.0.10, which adds an explicit is_bool() check in JsonSerializer.php mirroring the existing is_float() workaround. Upgrade with composer require getbrevo/brevo-php:^4.0.10 and boolean values in union-typed f…
Problem outcome: unknown