This topic can no longer be replied to because it has been locked.

Cron errors
Gravatar
Joined: 2016-12-12
Posts: 3
Hi, I followed all recomendations in Mailchimp and Ebizmarts to uninstall Magemonkey (I remove tables of DB too) and install Mailchimp4Magento.
But I have some sync issues. I think the problem is in the cron.
If I check the cron_schedule table, there are still new records for magemonkey_webhooks_asynch, magemonkey_sendsubscribers_asynch, magemonkey_sendorders_asynch, ebizmarts_abandoned_cart.
When they run, i get errors like:

Next exception 'Zend_Db_Statement_Exception' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'magentoproddb.ebizmarts_abandonedcart_abtesting' doesn't exist, query was: SELECT `main_table`.* FROM `ebizmarts_abandonedcart_abtesting` AS `main_table` WHERE (`store_id` = 2)' in /var/www/html/ecommerce/lib/Zend/Db/Statement/Pdo.php:235
Stack trace:
#0 /var/www/html/ecommerce/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#1 /var/www/html/ecommerce/app/code/core/Zend/Db/Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#2 /var/www/html/ecommerce/lib/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#3 /var/www/html/ecommerce/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `main_ta...', Array)
#4 /var/www/html/ecommerce/lib/Varien/Db/Adapter/Pdo/Mysql.php(504): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `main_ta...', Array)
#5 /var/www/html/ecommerce/lib/Zend/Db/Adapter/Abstract.php(737): Varien_Db_Adapter_Pdo_Mysql->query('SELECT `main_ta...', Array)
#6 /var/www/html/ecommerce/lib/Varien/Data/Collection/Db.php(740): Zend_Db_Adapter_Abstract->fetchAll('SELECT `main_ta...', Array)
#7 /var/www/html/ecommerce/app/code/core/Mage/Core/Model/Resource/Db/Collection/Abstract.php(521): Varien_Data_Collection_Db->_fetchAll('SELECT `main_ta...', Array)
#8 /var/www/html/ecommerce/lib/Varien/Data/Collection/Db.php(572): Mage_Core_Model_Resource_Db_Collection_Abstract->getData()
#9 /var/www/html/ecommerce/lib/Varien/Data/Collection.php(268): Varien_Data_Collection_Db->load()
#10 /var/www/html/ecommerce/app/code/community/Ebizmarts/AbandonedCart/Model/Cron.php(136): Varien_Data_Collection->getFirstItem()
#11 /var/www/html/ecommerce/app/code/community/Ebizmarts/AbandonedCart/Model/Cron.php(95): Ebizmarts_AbandonedCart_Model_Cron->_processRun(Object(Magento_Db_Adapter_Pdo_Mysql), 0, 2)
#12 /var/www/html/ecommerce/app/code/community/Ebizmarts/AbandonedCart/Model/Cron.php(36): Ebizmarts_AbandonedCart_Model_Cron->_proccess(2)
#13 [internal function]: Ebizmarts_AbandonedCart_Model_Cron->abandoned(Object(Mage_Cron_Model_Schedule))
#14 /var/www/html/ecommerce/app/code/core/Mage/Cron/Model/Observer.php(326): call_user_func_array(Array, Array)
#15 /var/www/html/ecommerce/app/code/core/Mage/Cron/Model/Observer.php(72): Mage_Cron_Model_Observer->_processJob(Object(Mage_Cron_Model_Schedule), Object(Mage_Core_Model_Config_Element))
#16 /var/www/html/ecommerce/app/code/core/Mage/Core/Model/App.php(1358): Mage_Cron_Model_Observer->dispatch(Object(Varien_Event_Observer))
#17 /var/www/html/ecommerce/app/code/core/Mage/Core/Model/App.php(1337): Mage_Core_Model_App->_callObserverMethod(Object(Mage_Cron_Model_Observer), 'dispatch', Object(Varien_Event_Observer))
#18 /var/www/html/ecommerce/app/Mage.php(448): Mage_Core_Model_App->dispatchEvent('default', Array)
#19 /var/www/html/ecommerce/cron.php(78): Mage::dispatchEvent('default' )

Which is very strange, because /var/www/html/ecommerce/app/code/community/Ebizmarts/AbandonedCart/Model/Cron.php doesnt exists anymore.

And the cron job mailchimp_bulksync_data says it run correctly, but i put a couple of Mage::log in the code and is not calling the it.
Gravatar
Joined: 2012-03-08
Posts: 843
Hi Gillermo,

thanks for your contact.
Are you already delete the files
app/etc/modules/Ebizmarts_MageMonkey.xml
app/etc/modules/Ebizmarts_Mandrill.xml
app/etc/modules/Ebizmarts_Autoresponder.xml
app/etc/modules/Ebizmarts_AbandonedCart.xml
?

Keep in mind, before remove it, disable this extensions

Best
Gravatar
Joined: 2016-12-12
Posts: 3
Hi,

thanks for the reply.
We found what the problem was. We had a backup server just in case something went wrong with our server. That server was also running magento cron but with old config/files y thats why the old cron jobs were being created.


NEWSLETTER

Subscribe to our newsletter to receive emails and useful news articles