Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I did a fresh install of Drupal and the first module I install on that installation was this module and the Key module. The documentation says nothing so I just enabled the module and added keys using the Key configuration.
Then I tried to access the Stripe config page and I got the following error.
PHP Fatal error: Call to a member function getKeyValue() on null in modules/contrib/stripe_api/src/StripeApiService.php on line 68.
Comment | File | Size | Author |
---|---|---|---|
#3 | 2838989-fatal-error-fresh-install.diff | 517 bytes | heshanlk |
Comments
Comment #2
heshanlkComment #3
heshanlkComment #4
jochemvn CreditAttribution: jochemvn for Open Social commentedHad the same issue. This resolved it for me.
Comment #5
Pegasus360 CreditAttribution: Pegasus360 commentedI have had the same issue. Install the module on a fresh install. (it crashes an existing site) Enable Key and stripe API. Key config is available but the stripe API config crashes. If this diff works then where does it go??
Comment #6
jpoesen CreditAttribution: jpoesen commentedConfirming that patch in #3 solves the issue.
Thanks!
Comment #7
othermachines CreditAttribution: othermachines commentedLooks like this was fixed in 8.x-1.0-beta1 with this commit.
Comment #8
knyshuk.vova CreditAttribution: knyshuk.vova at Internetdevels commentedThis issue has already been fixed in 8.x-1.0-beta1 in the commit
Comment #9
knyshuk.vova CreditAttribution: knyshuk.vova at Internetdevels commented