mc-magento2: Class Mailchimp does not exist

I tried to install mailchimp module for magento 2. After I put all the files in the app/code/Ebizmarts/MailChimp run the code php bin/magento module:enable Ebizmarts_MailChimp --clear-static-content and after running php bin/magento setup:upgrade i recive the following error:

  [ReflectionException]
  Class Mailchimp does not exist

I tried with several version and for all of them i receive the same thing. I got the extenion from https://marketplace.magento.com/. So i think this should work fine.

Does anyone know how can i solve this issue?

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 27

Most upvoted comments

Hi @nickalmeida

see at this https://github.com/mailchimp/mc-magento2/blob/develop/composer.json#L27 You must install ebizmarts/mailchimp-lib so, run

composer require ebizmarts/mailchimp-lib

Best

Inside your composer.json file update the following lines -

“require” : { “ebizmarts/mailchimp-lib”: “3.0.*” }

Magento Marketplace guys did not even check the Module, before publishing that. Such an awful service!