I'm getting an error when trying to edit an existing Mailchimp handler or add a new one:
FastCGI sent in stderr: "PHP message: Uncaught PHP Exception Symfony\Component\Debug\Exception\ContextErrorException: "Notice: Undefined index: list at /vagrant/drupal/web/modules/contrib/webform_mailchimp/src/Plugin/WebformHandler/WebformMailChimpHandler.php line 157"
I don't know why this happens now because it worked when these were added some months ago.
If I add a check to line 157 for the "list" value it seems to work:
if (isset($form['list']) && $form['list']['#default_value'])
But the interest groups is always empty: "Will appear the next time you edit this handler with the list selected."
Comments
Comment #2
merilainen commentedComment #3
merilainen commentedOr should it be:
if (isset($form['mailchimp']['list']) && $form['mailchimp']['list']['#default_value'])Comment #4
merilainen commentedThis has been fixed at #2920238: Interest Groups not showing in handler config form.