Brevo attribute missing type
-
Hi,
I have found a issue in the forms settings for your plugins, the error :
Undefined property: stdClass::$type
I digged a little bit and found you don’t check if
$attribute
has atype
property (in/includes/classes/gf-addon.php
). Seems that some Brevo attributes come withouttype
and throw this error.To fix it, I just added :
if (isset($attribute->type) && $attribute->type === 'boolean') {
At line 296 in
/includes/classes/gf-addon.php
.Hope this will be fix in a next released, have a nice day !
EDIT : fixed some typos
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Brevo attribute missing type’ is closed to new replies.