cancel
Showing results for 
Search instead for 
Did you mean: 

Mage registry key “_singleton/tax/observer” already exists

SOLVED

Mage registry key “_singleton/tax/observer” already exists

I have encountered this error as I was doing this. The error happen in both frontend and backend.

I have tried below action:

Flushing the cache (delete everything in var/cache folder) : doesn't work.

Went to the compiler and noticed it was disabled

Tried & running the compiler : also doesn't work

 

Any suggestions?

 

Trace:
#0 /var/www/vhosts/jomgroupon.com/httpdocs/app/Mage.php(222): Mage::throwException('Mage registry k...')
#1 /var/www/vhosts/jomgroupon.com/httpdocs/app/Mage.php(476): Mage::register('_singleton/tax/...', false)
#2 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Model/App.php(1316): Mage::getSingleton('tax/observer')
#3 /var/www/vhosts/jomgroupon.com/httpdocs/app/Mage.php(447): Mage_Core_Model_App->dispatchEvent('catalog_product...', Array)
#4 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php(526): Mage::dispatchEvent('catalog_product...', Array)
#5 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(885): Mage_Catalog_Model_Resource_Product_Collection->_afterLoad()
#6 /var/www/vhosts/jomgroupon.com/httpdocs/lib/Varien/Data/Collection.php(301): Mage_Eav_Model_Entity_Collection_Abstract->load()
#7 /var/www/vhosts/jomgroupon.com/httpdocs/app/design/frontend/base/default/template/catalog/product/widget/new/column/new_default_list.phtml(36): Varien_Data_Collection->getItems()
#8 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/vhosts...')
#9 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/base/d...')
#10 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#11 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->_toHtml()
#12 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#13 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Text_List->_toHtml()
#14 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(582): Mage_Core_Block_Abstract->toHtml()
#15 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(526): Mage_Core_Block_Abstract->_getChildHtml('right', true)
#16 /var/www/vhosts/jomgroupon.com/httpdocs/app/design/frontend/default/skytheme/template/page/2columns-right.phtml(58): Mage_Core_Block_Abstract->getChildHtml('right')
#17 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/vhosts...')
#18 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#19 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#20 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->_toHtml()
#21 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#22 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#23 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/local/Gclone/Deal/controllers/IndexController.php(72): Mage_Core_Controller_Varien_Action->renderLayout()
#24 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(419): Gclone_Deal_IndexController->viewAction()
#25 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('view')
#26 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#27 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#28 /var/www/vhosts/jomgroupon.com/httpdocs/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#29 /var/www/vhosts/jomgroupon.com/httpdocs/index.php(87): Mage::run('', 'store')
#30 {main}

 

2 ACCEPTED SOLUTIONS

Accepted Solutions

Re: Mage registry key “_singleton/tax/observer” already exists

looks tax/observer does not exists in your site, check if Observer.php is in app/code/core/Tax/Model folder

View solution in original post

Re: Mage registry key “_singleton/tax/observer” already exists

its the same  type of error, check if your affiliateplusprogram/observer class file is there, it shoud be in your  community/magestore or local/magestore

View solution in original post

7 REPLIES 7

Re: Mage registry key “_singleton/tax/observer” already exists

looks tax/observer does not exists in your site, check if Observer.php is in app/code/core/Tax/Model folder

Re: Mage registry key “_singleton/tax/observer” already exists

Found Observer.php rename to other Observer.php.suspected, so rename it back to Observer.php. But it prompt other error as below:

Mage registry key "_singleton/affiliateplusprogram/observer" already exists

 Full trace:

race: #0 /var/www/vhosts/jomgroupon.com/httpdocs/app/Mage.php(222): Mage::throwException('Mage registry k...') #1 /var/www/vhosts/jomgroupon.com/httpdocs/app/Mage.php(476): Mage::register('_singleton/affi...', false) #2 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Model/App.php(1316): Mage::getSingleton('affiliatepluspr...') #3 /var/www/vhosts/jomgroupon.com/httpdocs/app/Mage.php(447): Mage_Core_Model_App->dispatchEvent('affiliateplus_a...', Array) #4 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/local/Magestore/Affiliateplus/Model/Total/Address/Affiliateplus.php(50): Mage::dispatchEvent('affiliateplus_a...', Array) #5 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Sales/Model/Quote/Address.php(957): Magestore_Affiliateplus_Model_Total_Address_Affiliateplus->collect(Object(Mage_Sales_Model_Quote_Address)) #6 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Sales/Model/Quote.php(1263): Mage_Sales_Model_Quote_Address->collectTotals() #7 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/local/Magestore/Affiliateplus/Model/Total/Address/Affiliateplus.php(194): Mage_Sales_Model_Quote->collectTotals() #8 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Sales/Model/Quote/Address.php(971): Magestore_Affiliateplus_Model_Total_Address_Affiliateplus->fetch(Object(Mage_Sales_Model_Quote_Address)) #9 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Sales/Model/Quote.php(1339): Mage_Sales_Model_Quote_Address->getTotals() #10 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Checkout/Block/Cart/Sidebar.php(257): Mage_Sales_Model_Quote->getTotals() #11 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Checkout/Block/Cart/Abstract.php(179): Mage_Checkout_Block_Cart_Sidebar->getTotalsCache() #12 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Checkout/Block/Cart/Sidebar.php(114): Mage_Checkout_Block_Cart_Abstract->getTotals() #13 /var/www/vhosts/jomgroupon.com/httpdocs/app/design/frontend/default/skytheme/template/checkout/cart/sidebar.phtml(49): Mage_Checkout_Block_Cart_Sidebar->getSubtotal() #14 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/vhosts...') #15 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/defaul...') #16 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView() #17 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->_toHtml() #18 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml() #19 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Text_List->_toHtml() #20 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(582): Mage_Core_Block_Abstract->toHtml() #21 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(526): Mage_Core_Block_Abstract->_getChildHtml('right', true) #22 /var/www/vhosts/jomgroupon.com/httpdocs/app/design/frontend/default/skytheme/template/page/2columns-right.phtml(58): Mage_Core_Block_Abstract->getChildHtml('right') #23 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/vhosts...') #24 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/defaul...') #25 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView() #26 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->_toHtml() #27 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml() #28 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput() #29 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/local/Gclone/Deal/controllers/IndexController.php(72): Mage_Core_Controller_Varien_Action->renderLayout() #30 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(419): Gclone_Deal_IndexController->viewAction() #31 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('view') #32 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) #33 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch() #34 /var/www/vhosts/jomgroupon.com/httpdocs/app/Mage.php(683): Mage_Core_Model_App->run(Array) #35 /var/www/vhosts/jomgroupon.com/httpdocs/index.php(87): Mage::run('', 'store') #36 {main}

 

Re: Mage registry key “_singleton/tax/observer” already exists

its the same  type of error, check if your affiliateplusprogram/observer class file is there, it shoud be in your  community/magestore or local/magestore

Re: Mage registry key “_singleton/tax/observer” already exists

Thanks you very very much KuafuSoft! You have save my world. I have follow your way and really found that my oberver file have been rename to other name in this affiliateplusprogram folder. Once I correct it back to actual name "Observer.php", every things back to normal and the error no longer prompt up when checkout https://jomgroupon.com/checkout/cart/

Many many Thanks to you. Truely Appreciate it...!!!

 

Re: Mage registry key “_singleton/tax/observer” already exists

Smiley Wink you are welcome, glad I helped

Re: Mage registry key “_singleton/tax/observer” already exists

I'm facing this error. All files  of Magestore module deleted. But not understanding why error is generating. I can't login in admin

 

Mage registry key "_singleton/magenotification/observer" already exists
Trace: #0 /home/goodguy5/public_html/app/Mage.php(223): Mage::throwException('Mage registry k...') #1 /home/goodguy5/public_html/app/Mage.php(477): Mage::register('_singleton/mage...', false) #2 /home/goodguy5/public_html/app/code/core/Mage/Core/Model/App.php(1316): Mage::getSingleton('magenotificatio...') #3 /home/goodguy5/public_html/app/Mage.php(448): Mage_Core_Model_App->dispatchEvent('controller_acti...', Array) #4 /home/goodguy5/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(527): Mage::dispatchEvent('controller_acti...', Array) #5 /home/goodguy5/public_html/app/code/core/Mage/Adminhtml/Controller/Action.php(160): Mage_Core_Controller_Varien_Action->preDispatch() #6 /home/goodguy5/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(407): Mage_Adminhtml_Controller_Action->preDispatch() #7 /home/goodguy5/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('login') #8 /home/goodguy5/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) #9 /home/goodguy5/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch() #10 /home/goodguy5/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array) #11 /home/goodguy5/public_html/index.php(87): Mage::run('', 'store') #12 {main}

Re: Mage registry key “_singleton/tax/observer” already exists

did you refresh config cache?