Closed pykettk closed 1 year ago
@pykettk Thanks for this. We've actually been working on this area of the code, and have deprecated the method you're modifying here, see https://github.com/dotmailer/dotmailer-magento2-extension/blob/develop/Model/Consent.php#L81-L82. The newer code prevents the error you've run into.
This isn't due to be released until September however. In the meantime, if this is a major issue for you, we can release a patch - otherwise I'd advise either setting consent text in the admin or (if you don't need it) disabling consent capture.
Thanks for the reply, @sta1r . It's not a major issue as I applied this change as a Composer patch. I can live with this as a solution until the September release 👍
Add type safety for
strlen()
function parameter