mailchimp / mc-magento2

MailChimp for Magento 2. Syncs all data (subscriber, customers, orders, products) and enables marketing automation with email campaigns, automations, ads, postcards and more.
Open Software License 3.0
155 stars 111 forks source link

Install MailChimp error in magento v2.3.0 #573

Closed tinh-ngo-niteco closed 5 years ago

tinh-ngo-niteco commented 5 years ago

Install MailChimp error in magento v2.3.0

Don't install mailchimp in magento v2.3.0 Environment: ubuntu 18.04, nginx, php7.2

Issue Description

1, I clone code in github and copy to project 2, I run command line: php bin/magento module:enable Ebizmarts_MailChimp -> Response successfuly

The following modules have been enabled:
- Ebizmarts_MailChimp

To make sure that the enabled modules are properly registered, run 'setup:upgrade'.
Cache cleared successfully.
Generated classes cleared successfully. Please run the 'setup:di:compile' command to generate classes.
Info: Some modules might require static view files to be cleared. To do this, run 'module:enable' with the --clear-static-content option to clear them.

3, I run command line: php bin/magento setup:upgrade

Show error:

...
Module 'Magento_NewRelicReporting':
Module 'Ebizmarts_MailChimp':
Installing data... Class Mailchimp does not exist

Preconditions

1. Magento CE 2.3.0
2. Ubuntu 18.04
3. Nginx
4. php7.2

Thank!

gonzaloebiz commented 5 years ago

Hi @tinh-ngo-niteco

thanks for your feddback. Please see at https://github.com/mailchimp/mc-magento2/blob/develop-2.3/composer.json#L28 As you can see, the extension depends on ebizmarts/mailchimp-lib The best option is install the extension via composer:

composer require mailchimp/mc-magento2:dev-develop-2.3

until we have a released version for magento 2.3

Best

tinh-ngo-niteco commented 5 years ago

Thank, I try 👍

adolforopeza commented 2 years ago

hello is currently generating this message when I try to compile, bin/magento setup:di:compile magento 2.3.7-p2


Class Magento\Framework\View\Helper\SecureHtmlRenderer does not exist
Class Ebizmarts\MailChimp\Block\Mailchimpjs\Interceptor generation error: The requested class did not generate properly, because the 'g
enerated' directory permission is read-only. If --- after running the 'bin/magento setup:di:compile' CLI command when the 'generated' d
irectory permission is set to write --- the requested class did not generate properly, then you must add the generated class object to
the signature of the related construct method, only.

andrzejskowron commented 2 years ago

The same situation with our Magento 2.3.7-p2