Mailchimp Lists stop working after cache rebuild

Created on 9 November 2016, almost 9 years ago
Updated 10 July 2025, about 2 months ago

Note: this might be similar to another issue with 7.x here - https://www.drupal.org/node/2751831#comment-11466387 - but I'm getting it with 8.x-dev.

I'm using Mailchimp 8.x-dev, Drupal 8.1.8.

On localhost (homestead setup with php7/nginx) mailchimp lists work great.

However, on a fresh DigitalOcean install (Ubuntu16,PHP7.0,Nginx, SSL) whenever i run a cache rebuild, i loose all the lists in mailchimp - and the signup forms stop working.

I get the following notice when going back to mailchimp and clicking to refresh the lists.

Notice: Trying to get property of non-object in mailchimp_get_lists()

I'm having a hard time finding rhyme or reason for it. When it stops working, it doesn't work immediately after drush cache-rebuild, cron run, etc. Then in an hour or two, or sometimes the next day, it'll just start working.

🐛 Bug report
Status

Closed: won't fix

Version

1.0

Component

General

Created by

🇺🇸United States chuckienorton

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