- Issue created by @cedewey
When a site builder first installs and configures the Give module, they might not have a Stripe account yet. They are still able to create a donation form. However, when clicking the "Give" button on that form, the user sees the generic,
The website encountered unexpected error. Please try again.
error message.
The more specific error message, found in the logs, is
Error: Cannot unset string offsets in Drupal\Core\Field\WidgetBase->extractFormValues() (line 381 of /var/www/html/web/core/lib/Drupal/Core/Field/WidgetBase.php).
Display a more helpful message, such as
Your donation form could not be submitted because Stripe has not been configured. Contact your site administrator to report this problem.
None
None
None
Active
2.0
Code