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.
CommentFileSizeAuthor
#3 2838989-fatal-error-fresh-install.diff517 bytesheshanlk
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

heshanlk created an issue. See original summary.

heshanlk’s picture

Issue summary: View changes
heshanlk’s picture

Status: Active » Needs review
FileSize
517 bytes
jochemvn’s picture

Status: Needs review » Reviewed & tested by the community

Had the same issue. This resolved it for me.

Pegasus360’s picture

I 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??

jpoesen’s picture

Confirming that patch in #3 solves the issue.

Thanks!

othermachines’s picture

Looks like this was fixed in 8.x-1.0-beta1 with this commit.

knyshuk.vova’s picture

This issue has already been fixed in 8.x-1.0-beta1 in the commit

knyshuk.vova’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.