How to reproduce it:

  1. Create some users.
  2. Install the mailchimp and mailchip lists module and configure them
  3. Add a Mailchimp subscription field to your users form.
  4. Edit any user created before the installtion of mailchimp, check the "subscribe" checkbox and save the form
  5. WSOD

The already created users have null in that new field by default, so this produces a fatal error in the module when the user save the form.

I attach a patch to fix this.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

gnuget created an issue. See original summary.

gnuget’s picture

Status: Active » Needs review
gnuget’s picture

Issue summary: View changes
mlncn’s picture

Status: Needs review » Reviewed & tested by the community

Important and necessary fix if you have users, and add mailchimp field to users later on. This patch is in our composer.json and in use on production!

  • ruscoe committed 2c2cb48 on 8.x-1.x authored by gnuget
    Issue #2826483 by gnuget: Fatal error when edit a user which hasn't a...
ruscoe’s picture

Status: Reviewed & tested by the community » Fixed

Thank you!

Status: Fixed » Closed (fixed)

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