Installation error
Gravatar
Joined: 2015-03-31
Posts: 11
We uninstalled and attempted installing again (via upload) and receive this error:

1 exception(s):
Exception #0 (Magento\Framework\Exception\LocalizedException): Please update your modules: Run "composer install" from the Magento root directory.
The following modules are outdated:
Ebizmarts_MailChimp db schema version: defined in codebase - 1.0.29, currently installed - 1.0.32

Gravatar
Joined: 2018-08-14
Posts: 235
Hi,

Please install the extension via composer, you only need run the next two commands on the console:

php composer require mailchimp/mc-magento2 1.0.32 and php bin/magento setup:upgrade

Please remove all the files that you have uploaded manually before install the extension via composer.
Gravatar
Joined: 2015-03-31
Posts: 11
Was able to install as indicated, but get this error on configuration screen:


Fatal error: Uncaught TypeError: Argument 1 passed to Ebizmarts\MailChimp\Helper\VarsMap::encodeArrayFieldValue() must be of the type array, string given, called in /chroot/home/abcdad3e/stage2.wwwwwwww.com/html/vendor/mailchimp/mc-magento2/Helper/VarsMap.php on line 50 and defined in /chroot/home/abcdad3e/stage2.wwwwwwww.com/html/vendor/mailchimp/mc-magento2/Helper/VarsMap.php:119 Stack trace: #0 /chroot/home/abcdad3e/stage2.wwwwwwww.com/html/vendor/mailchimp/mc-magento2/Helper/VarsMap.php(50): Ebizmarts\MailChimp\Helper\VarsMap->encodeArrayFieldValue('a:0:{}') #1 /chroot/home/abcdad3e/stage2.wwwwwwww.com/html/vendor/mailchimp/mc-magento2/Model/Config/Backend/VarsMap.php(58): Ebizmarts\MailChimp\Helper\VarsMap->makeArrayFieldValue('a:0:{}') #2 /chroot/home/abcdad3e/stage2.wwwwwwww.com/html/vendor/magento/framework/Model/AbstractModel.php(601): Ebizmarts\MailChimp\Model\Config\Backend\VarsMap->_afterLoad() #3 /chroot/home/abcdad3e/stage2.wwwwwwww.com/html/generated/code/Ebizmarts/MailChimp/Model/Config/Backend/VarsMap/Interceptor.php(323): in /chroot/home/abcdad3e/stage2.wwwwwwww.com/html/vendor/mailchimp/mc-magento2/Helper/VarsMap.php on line 119
Gravatar
Joined: 2018-08-14
Posts: 235
Hi,

You still have two versions of the extension installed, one located at: Ebizmarts\MailChimp and another one located at /vendor/mailchimp/mc-magento2/ please remove the two version again and install the extension via composer running the next two commands on the console:
php composer require mailchimp/mc-magento2 1.0.32 and php bin/magento setup:upgrade
Gravatar
Joined: 2015-03-31
Posts: 11
The code files were deleted and we are still getting this erro. It looks like a database issue. Can you please let me know which tables we should drop to fully uninstall.
Gravatar
Joined: 2018-08-14
Posts: 235
Why do you said it's a problem with the database?
In the error that you sent there isn't anything related to the database.
Gravatar
Joined: 2015-03-31
Posts: 11
The module was uninstalled and installed via composer as indicated and we still had the same error. However when we install 1.0.29 it works fine.




Fatal error: Uncaught TypeError: Argument 1 passed to Ebizmarts\MailChimp\Helper\VarsMap::encodeArrayFieldValue() must be of the type array, string given, called in /chroot/home/abcdad3e/stage2.wwwwwwww.com/html/vendor/mailchimp/mc-magento2/Helper/VarsMap.php on line 50 and defined in /chroot/home/abcdad3e/stage2.wwwwwwww.com/html/vendor/mailchimp/mc-magento2/Helper/VarsMap.php:119 Stack trace: #0 /chroot/home/abcdad3e/stage2.wwwwwwww.com/html/vendor/mailchimp/mc-magento2/Helper/VarsMap.php(50): Ebizmarts\MailChimp\Helper\VarsMap->encodeArrayFieldValue('a:0:{}') #1 /chroot/home/abcdad3e/stage2.wwwwwwww.com/html/vendor/mailchimp/mc-magento2/Model/Config/Backend/VarsMap.php(58): Ebizmarts\MailChimp\Helper\VarsMap->makeArrayFieldValue('a:0:{}') #2 /chroot/home/abcdad3e/stage2.wwwwwwww.com/html/vendor/magento/framework/Model/AbstractModel.php(601): Ebizmarts\MailChimp\Model\Config\Backend\VarsMap->_afterLoad() #3 /chroot/home/abcdad3e/stage2.wwwwwwww.com/html/generated/code/Ebizmarts/MailChimp/Model/Config/Backend/VarsMap/Interceptor.php(323): in /chroot/home/abcdad3e/stage2.wwwwwwww.com/html/vendor/mailchimp/mc-magento2/Helper/VarsMap.php on line 119
Gravatar
Joined: 2018-08-14
Posts: 235
Hi Andre,

Please contact us via email here: mailchimp@ebizmarts-desk.zendesk.com and send the next information:

1. Explain the issue that you have.
2. Explain step by step how you installed the extension and how you removed the previous versions.
3. Send the complete file where you find the previous error.

NEWSLETTER

Subscribe to our newsletter to receive emails and useful news articles