- Issue created by @craigkendall
- πΊπΈUnited States schiavone
Ran into the same thing. Run
composer require thinkshout/mailchimp-api-php:^3.0.0-rc4
First then install with
composer require 'drupal/mailchimp:^2.2'
Success!
- πΊπ¦Ukraine Themetis
Stuck with the same problem as the author, but while updating Mailchimp 2.0.2 module to 2.2. on Drupal 9.5.7. Trying to update "mailchimp API" first, as suggested by the @schiavone but getting a slightly different error:
composer require thinkshout/mailchimp-api-php:^3.0.0-rc4 Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires thinkshout/mailchimp-api-php ^3.0.0-rc4, found thinkshout/mailchimp-api-php[3.0.0-rc4] but these were not loaded, likely because it conflicts with another require. Problem 2 - drupal/mailchimp is locked to version 2.0.2 and an update of this package was not requested. - drupal/mailchimp 2.0.2 requires thinkshout/mailchimp-api-php ^2.0 -> found thinkshout/mailchimp-api-php[2.0.0, ..., v2.1.3] but it conflicts with your root composer.json require (^3.0.0-rc4).
Any ideas on how to solve this?
- π³πΏNew Zealand glennnz
I'm getting:
The website encountered an unexpected error. Please try again later.
Error: Class "\Mailchimp\Mailchimp" not found in Drupal\mailchimp\ClientFactory->createInstance() (line 154 of modules/contrib/mailchimp/src/ClientFactory.php).While trying a fresh install on 9.5.7, using Composer
- Status changed to Fixed
over 1 year ago 12:24am 27 May 2023 - πΊπΈUnited States aprice42
I believe the latest release should resolve your issue. I was able to install without issue on a fresh d10 site install. If you still have a problem, can you provide steps to reproduce?
- π¨π¦Canada kiwad
I had same as #4 on old install, i had thinkshout in composer.
Did
composer remove thinkshout/mailchimp-api-php
Then
composer require 'drupal/mailchimp:^2.2' -W
Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
over 1 year ago 10:46am 29 June 2023 - πΊπ¦Ukraine Themetis
Confirming successful update to the latest version of Mailchimp 2.2.2 on Drupal 9.5.9