• Resolved maxrenglet

    (@maxrenglet)


    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 a type property (in /includes/classes/gf-addon.php). Seems that some Brevo attributes come without type 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

    • This topic was modified 10 months ago by maxrenglet.
Viewing 1 replies (of 1 total)
  • Plugin Author WP connect

    (@wpconnectco)

    Hi Max,

    Thank you for informing us about this bug, we have fixed it on our last version.

    I hope it works now for you.

    Don’t hesitate to contact us if you have more questions,

    Kind Regards,

    Cristian
    WP connect Support

Viewing 1 replies (of 1 total)
  • The topic ‘Brevo attribute missing type’ is closed to new replies.