🐛 | Mailchimp | TypeError: Argument 4 passed to Drupal\mailchimp\ClientFactory::__construct() must be an instance of Drupal\Core\State\State, instance of Drupal\webprofiler\State\StateWrapper given
🇳🇱Netherlands phaseolud
@aprice42 I added my fix to the fork!
🐛 | Mailchimp | TypeError: Argument 4 passed to Drupal\mailchimp\ClientFactory::__construct() must be an instance of Drupal\Core\State\State, instance of Drupal\webprofiler\State\StateWrapper given
🇳🇱Netherlands phaseolud
Hi,
I got a similar issue: TypeError: Drupal\mailchimp\Form\MailchimpAdminSettingsForm::__construct(): Argument #2 ($stateService) must be of type Drupal\mailchimp\Form\State, Drupal\webprofiler\State\StateWrapper given.
I tested locally and the fix you provided in the MR works in this case as well. Shall I make a new MR for this, or can it be combined with your MR?
Thanks!