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

Mage_Core_Model_App->getStore(NULL) in stock importer #297

Open
seansan opened this issue Sep 19, 2016 · 4 comments
Open

Mage_Core_Model_App->getStore(NULL) in stock importer #297

seansan opened this issue Sep 19, 2016 · 4 comments

Comments

@seansan
Copy link

seansan commented Sep 19, 2016

Hi, we use a stock import module (xtento). they have debugged below and claim this is an error due to AOE. Personally not sure about this. But maybe it helps.

Mage_Core_Model_Store_Exception in app/code/core/Mage/Core/Model/App.php:1377
Stack trace:
#0 app/code/core/Mage/Core/Model/App.php(848): Mage_Core_Model_App->throwStoreException()
#1 app/Mage.php(353): Mage_Core_Model_App->getStore(NULL)
#2 .modman/Aoe_Scheduler/app/code/community/Aoe/Scheduler/Helper/Data.php(281): Mage::getStoreConfig('system/cron/err...')
#3 .modman/Aoe_Scheduler/app/code/community/Aoe/Scheduler/Model/Schedule.php(260): Aoe_Scheduler_Helper_Data->sendErrorMail(Object(Aoe_Scheduler_Model_Schedule), 'Mage_Core_Model...')
#4 .modman/Aoe_Scheduler/app/code/community/Aoe/Scheduler/Model/Schedule.php(605): Aoe_Scheduler_Model_Schedule->runNow(true)
#5 .modman/Aoe_Scheduler/app/code/community/Aoe/Scheduler/Model/Observer.php(39): Aoe_Scheduler_Model_Schedule->process()
#6 app/code/local/Xtento/StockImport/Model/Observer/Cron/Config.php(24): Aoe_Scheduler_Model_Observer->dispatch(Object(Varien_Event_Observer))
#7 app/code/core/Mage/Core/Model/App.php(1358): Xtento_StockImport_Model_Observer_Cron_Config->addCronjobsToConfig(Object(Varien_Event_Observer))
#8 app/code/core/Mage/Core/Model/App.php(1331): Mage_Core_Model_App->_callObserverMethod(Object(Xtento_StockImport_Model_Observer_Cron_Config), 'addCronjobsToCo...', Object(Varien_Event_Observer))
#9 app/Mage.php(448): Mage_Core_Model_App->dispatchEvent('default', Array)
#10 .modman/Aoe_Scheduler/shell/scheduler.php(518): Mage::dispatchEvent('default', Array)
#11 .modman/Aoe_Scheduler/shell/scheduler.php(37): Aoe_Scheduler_Shell_Scheduler->cronAction()
#12 .modman/Aoe_Scheduler/shell/scheduler.php(545): Aoe_Scheduler_Shell_Scheduler->run()
#13 {main}

@seansan
Copy link
Author

seansan commented Sep 24, 2016

Anyone an idea? I dont know how to solve this one

@abpostman1
Copy link

Hi , same issue here ... found nothing about this but people saying it's because of multiple stores. But it's such a long time ago that i can't remember where i saw this answer.
Have you fixed this issue ?
Thanks

@joesken
Copy link

joesken commented Jan 4, 2018

We're seeing the same issue - no fix found yet but if anyone else found one would be interested, thanks.

seansan added a commit to seansan/magento-lts that referenced this issue Apr 19, 2018
Fix issue with CRON where storeid is not known/not set

AOEpeople/Aoe_Scheduler#297 (comment)

Not sure where this can have other unforeseen effect
@seansan
Copy link
Author

seansan commented Apr 19, 2018

@Toinehaaijer
Did you remove your comment?

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