Multiple errors when visiting /donate after "Continue to Payment"

Created on 17 July 2022, over 2 years ago
Updated 31 August 2023, about 1 year ago

Problem/Motivation

I am getting WSOD when entering a donation, and clicking "Continue to Payment". If you try to go back to the /donate page it crashes and I see these 3 errors in the Log:

Warning: assert(): Cannot load the "commerce_currency" entity with NULL ID. failed in Drupal\Core\Entity\EntityStorageBase->load() (line 295 of /var/www/html/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php)

Warning: array_flip(): Can only flip STRING and INTEGER values! in Drupal\Core\Entity\EntityStorageBase->loadMultiple() (line 312 of /var/www/html/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php)

InvalidArgumentException: Missing required property "currency_code". in CommerceGuys\Intl\Currency\Currency->__construct() (line 61 of /var/www/html/vendor/commerceguys/intl/src/Currency/Currency.php).

Steps to reproduce

Not sure.

πŸ› Bug report
Status

Closed: duplicate

Version

1.0

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.

Production build 0.71.5 2024