You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A config path stored in the Magento database table "core_config_data" leads to exception on admin and storefront right after cron job was run.
Preconditions
1. Magento CE 2.4.2-p1
2. mailchimp/mc-magento2 version 103.4.43
3. Single Store, **no** single store mode
4. Existing Mail Chimp store with an id like "0daabac359722e58dba99ba5ba720bb3"
Steps to reproduce
1. In Magento Admin go to "Stores -> Configuration --> MailChimp -> Mailchimp"
2. In the "Mailchimp General Configuration" section set the option "Mailchimp Store" to be the existing mail chimp store
3. Click "Save" to save the configuration
4. Make sure the cron job "ebizmarts_ecommerce" is run either by running it manually or just install Magento cron job as
per Magento documentation
Actual and Expected result
Expected result:
Magento executes without error
Actual result:
An exception is thrown on admin and storefront
When the cron job named
"ebizmarts_ecommerce"
is run this method will be called
"Ebizmarts\MailChimp\Cron\Ecommerce::execute".
The method will look up the path
"mailchimp/general/monkeystore" from "core_config_data" table and use it's value to create a new entry inside core_config_data table.
That creates a config path like
"mailchimp/general/issync/[mailchimp_general_monkeystore_value]"
or as an example "mailchimp/general/issync/0daabac359722e58dba99ba5ba720bb3"
this however will lead to the exception above the next time Magento loads because /vendor/magento/framework/App/Config/Scope/Converter.php can not work with this path.
The text was updated successfully, but these errors were encountered:
i just try with Magento ver. 2.4.2-p1 version and Mailchimp v103.4.43 and work OK for me.
Modified the file vendor/magento/framework/App/Config/Scope/Converter.php and change the function
thanks for checking. I have had this issue on PHP 7.3 with Magento 2.3 as well ass PHP 7.3 with Magento 2.4 (I just noticed I'm running the update on the wrong PHP Version, not really relevant as I had this with Magento 2.3.5 PHP7.3 as well).
I will check if there is any other setting that deviates from default.
Perhaps if you can send me a ticket to our support email with all your magento configuration I can help you, I think some special store configuration is affecting you.
Issue Description
A config path stored in the Magento database table "core_config_data" leads to exception on admin and storefront right after cron job was run.
Preconditions
Steps to reproduce
Actual and Expected result
Additional information
When the cron job named
"ebizmarts_ecommerce"
is run this method will be called
"Ebizmarts\MailChimp\Cron\Ecommerce::execute".
The method will look up the path
"mailchimp/general/monkeystore" from "core_config_data" table and use it's value to create a new entry inside core_config_data table.
That creates a config path like
"mailchimp/general/issync/[mailchimp_general_monkeystore_value]"
or as an example "mailchimp/general/issync/0daabac359722e58dba99ba5ba720bb3"
this however will lead to the exception above the next time Magento loads because /vendor/magento/framework/App/Config/Scope/Converter.php can not work with this path.
The text was updated successfully, but these errors were encountered: