Cannot add users to list via VBO

Created on 19 October 2016, almost 9 years ago
Updated 10 July 2025, 16 days ago

Upon attempting to add a user to a mailchimp list via admin/people I encounter the following three errors:

  1. Notice: Undefined index: static in mailchimp_lists_add_to_segment_action_form() (line 718 of /[snip]/mailchimp/modules/mailchimp_lists/mailchimp_lists.module).
  2. Warning: Invalid argument supplied for foreach() in mailchimp_lists_add_to_segment_action_form() (line 718 of /[snip]/mailchimp/modules/mailchimp_lists/mailchimp_lists.module).
  3. An error occurred creating segment newsegment for list bf82feca25. "400: Invalid Resource - Must provide either an "options" field or a "static_segment" field"

These are the steps that I took to get to this point:

  1. Install fresh D7 instance, along with mailchimp, entity, admin_views and sundry modules
  2. Enable mailchimp_lists and its dependencies
  3. Create a list in mailchimp's admin UI
  4. Create a new MailChimp subscription field under people/account/fields, setting MailChimp List and merge fields
  5. Edit the admin/people view to include the Bulk operation for Add to segment, selecting the new field during configuration
  6. Select a user under admin/people and execute the Add to mailchimp lists segment operation
  7. Select the Mailchimp list field and give the segment a name

At this point the errors occur. No new users are added to the list, and even if a user that is already on the mailchimp list is selected for the operation, no new segment is created.

🐛 Bug report
Status

Closed: won't fix

Version

4.0

Component

General

Created by

🇺🇸United States scresante

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.

  • 🇺🇸United States xenophyle

    Thanks for submitting this ticket — and sorry we didn’t get back to you about it sooner. We are cleaning up old issues and issue for old versions and are going to close this one. If this issue is still relevant for you, please re-open it and update the “Version” field, and include any updates to the behavior you are seeing.With a smaller issue queue, we’ll have an easier time getting back to you.

Production build 0.71.5 2024