Skip to content

Notice: Undefined index: version #206

@Linkinou

Description

@Linkinou

Hello !

I've been facing an issue that occurs randomly when we try to create a new contact in sendinblue.

The error : Notice: Undefined index: version

It seems coming from Configuration::getDefaultConfiguration()->setApiKey('api-key', $mailApiKey);
It tries to retrieve the PHP version from the globals : $this->userAgent = 'sendinblue_clientAPI/v' . $GLOBALS['version'] . '/php';

But I don't understand why and what can we do about it.
Because this leads to our users not being added to our sendinblue contacts list.

Any ideas/suggestions are welcome

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions