Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cron error after recent upgrade to 1.1.9.1 (magento 1934) #526

Closed
seansan opened this issue Oct 23, 2017 · 9 comments
Closed

Cron error after recent upgrade to 1.1.9.1 (magento 1934) #526

seansan opened this issue Oct 23, 2017 · 9 comments

Comments

@seansan
Copy link
Contributor

seansan commented Oct 23, 2017

Cron error after recent upgrade to https://github.com/mailchimp/mc-magento/releases/tag/1.1.9.1

Hope it helps

MailChimp_Error: for Api Call: ecommerce/stores/1a171e3f41f307716c0fa389fc89b49b - in /lib/Ebizmarts/MailChimp.php:273
Stack trace:
#0 /lib/Ebizmarts/MailChimp/EcommerceStores.php(132): Ebizmarts_MailChimp->call('ecommerce/store...', '{"is_syncing":t...', 'PATCH')
#1 /app/code/community/Ebizmarts/MailChimp/Model/Api/Stores.php(137): MailChimp_EcommerceStore->edit('1a171e3f41f3077...', NULL, NULL, NULL, true)
#2 /app/code/community/Ebizmarts/MailChimp/Helper/Data.php(1967): Ebizmarts_MailChimp_Model_Api_Stores->editIsSyncing(Object(Ebizmarts_MailChimp), true, '1a171e3f41f3077...', '7')
#3 /app/code/community/Ebizmarts/MailChimp/Helper/Data.php(2067): Ebizmarts_MailChimp_Helper_Data->setIsSyncingIfFinishedPerStore(true, '7')
#4 /app/code/community/Ebizmarts/MailChimp/Model/Api/Batches.php(98): Ebizmarts_MailChimp_Helper_Data->handleResendDataBefore('7')
#5 /app/code/community/Ebizmarts/MailChimp/Model/Cron.php(28): Ebizmarts_MailChimp_Model_Api_Batches->handleEcommerceBatches()
#6 /app/code/community/Aoe/Scheduler/Model/Schedule.php(217): Ebizmarts_MailChimp_Model_Cron->syncEcommerceBatchData(Object(Aoe_Scheduler_Model_Schedule))
#12 /app/Mage.php(448): Mage_Core_Model_App->dispatchEvent('default', Array)
#13 /cron.php(78): Mage::dispatchEvent('default')
#14 {main}​

@seansan
Copy link
Contributor Author

seansan commented Oct 23, 2017

Found this too

[03-Oct-2017 12:50:07 UTC] PHP Fatal error:  Uncaught Error: Call to protected method Ebizmarts_MailChimp_Model_Api_Products::joinProductAttributes() from context 'Ebizmarts_MailChimp_Helper_Data' in app/code/community/Ebizmarts/MailChimp/Helper/Data.php:2202
Stack trace:
#0 app/code/community/Ebizmarts/MailChimp/Helper/Data.php(2157): Ebizmarts_MailChimp_Helper_Data->isMissingProductLowerThanId('48598', '9')
#1 app/code/community/Ebizmarts/MailChimp/Helper/Data.php(2104): Ebizmarts_MailChimp_Helper_Data->isMissingItemLowerThanId('48598', 'PRO', '9')
#2 app/code/community/Ebizmarts/MailChimp/Helper/Data.php(2043): Ebizmarts_MailChimp_Helper_Data->allResendItemsSentPerStoreView('9')
#3 app/code/community/Ebizmarts/MailChimp/Helper/Data.php(2023): Ebizmarts_MailChimp_Helper_Data->allResendItemsSent('9', 'stores')
#4 app/code/community/Ebizmarts/MailChimp/Helper in app/code/community/Ebizmarts/MailChimp/Helper/Data.php on line 2202


@ebizmarts-keller
Copy link
Contributor

ebizmarts-keller commented Oct 23, 2017

Hello @seansan

Is the joinProductAttributes function protected in your installation? Check this line in your installation where you are getting the error: https://github.com/mailchimp/mc-magento/blob/master/app/code/community/Ebizmarts/MailChimp/Model/Api/Products.php#L518

@seansan
Copy link
Contributor Author

seansan commented Oct 23, 2017 via email

@ebizmarts-keller
Copy link
Contributor

I can't see the image

Can you please just confirm if the function is protected or public in your system?

@seansan
Copy link
Contributor Author

seansan commented Oct 23, 2017 via email

@Santiagoebizmarts
Copy link
Contributor

Hello @seansan

This looks like if a MailChimp store was deleted manually and Magento is trying to reach it throwing an error. Resetting the store at the configuration should fix the problem.

Regards.

@seansan
Copy link
Contributor Author

seansan commented Oct 23, 2017 via email

@Santiagoebizmarts
Copy link
Contributor

Santiagoebizmarts commented Oct 23, 2017

I closed the issue because there are two different issues here.
Please follow our guidelines when creating issues.
Also both solutions have been provided:

  1. Reset ecommerce data.
  2. Make sure the joinAttributeProducts method is public.

If you need any more help with this please contact our support at [email protected]

Kind Regards.

@seansan
Copy link
Contributor Author

seansan commented Oct 23, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants