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.
We've added fields for First name, Last Name and Mailchimp Signup to User entity. Since upgrading to 4.8 when users Register on site and opt to join mailing list accounts are created but all of attached attached fields (including mailchimp field) are empty despite being filled out and set to required.
Checking Mailchimp account I can see that users were subscribed to list and ALL data from fields is included in proper mergevards.
This only occurs when creating a new account whether as visitor or administrator. Issue does not occur when editing an account.
Site is hosted on Pantheon w/ PHP7
Comments
Comment #2
Kcannick CreditAttribution: Kcannick commentedWe finally figured out the cause of this issue. We had been using advanced mergevars to save accounts username to mailchimp. Problem began after adding Real Name module to site but unfortunately it went unnoticed for weeks. Turns out we just needed to change the [user:name] token to [user:name-raw]. I'm guessing this is because the field used to producer real name have yet to be saved.
Comment #3
Kcannick CreditAttribution: Kcannick commentedComment #4
samuel.mortensonWhat do you think Mailchimp should do to better work with the Real Name module? The path forward isn't exactly clear in this issue.