Deprecated: Cannot use "parent" when current class scope has no parent in lib/api-v3-sdk/lib/Model/GetChildDomains.php on line 189

Created on 25 October 2020, almost 4 years ago
Updated 8 February 2023, over 1 year ago

In php7.4 the above error happens.
the error message is self explanatory:

Deprecated: Cannot use "parent" when current class scope has no parent in lib/api-v3-sdk/lib/Model/GetChildDomains.php on line 189
🐛 Bug report
Status

Needs work

Version

1.7

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇫🇷France barig

    Hi everyone,

    I created a patch for sendinblue library (see https://github.com/sendinblue/APIv3-php-library/issues/147 and https://github.com/sendinblue/APIv3-php-library/pull/251), and I also posted there a patch in .txt format for v7.4.5 version of the lib.

    I thought I could apply my patch to fix the issue on Drupal module but the latest 1.x tag (1.8) doesn't use composer to require the lib, it is versioned as part of the code...

    So I rolled a patch for 1.8 version of this module that you'll find attached here.

    For those of you using 2.x version of the module, the patch on the sendinblue github should work directly (take the PR or the .txt patch there according to the lib version you're using).

    Best regards,
    Bastien

Production build 0.71.5 2024