Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Magento threw an exception error…Cant figure it out
 
Danielc1234
Sr. Member
 
Avatar
Total Posts:  175
Joined:  2008-01-09
Miami, FL - United States
 

I was working on my site and after editing something I got the following error, I undid the edits and it is still messing up.
Any ideas?

This is the error I am getting

exception ‘Mage_Core_Exception’ with message ‘Cannot retrieve current category object’ in /var/www/vhosts/outdoor-casual-furniture.com/app/Mage.php:346
Stack trace:
#0 /var/www/vhosts/outdoor-casual-furniture.com/app/code/core/Mage/Catalog/Model/Layer.php(87): Mage::throwException(’Cannot retrieve...’)
#1 /var/www/vhosts/outdoor-casual-furniture.com/app/code/core/Mage/Catalog/Block/Navigation.php(73): Mage_Catalog_Model_Layer->getCurrentCategory()
#2 /var/www/vhosts/outdoor-casual-furniture.com/app/design/frontend/default/default/template/catalog/navigation/left.phtml(28): Mage_Catalog_Block_Navigation->getCurrentChildCategories()
#3 /var/www/vhosts/outdoor-casual-furniture.com/app/code/core/Mage/Core/Block/Template.php(112): include(’/var/www/vhosts...’)
#4 /var/www/vhosts/outdoor-casual-furniture.com/app/code/core/Mage/Core/Block/Template.php(144): Mage_Core_Block_Template->fetchView(’frontend/defaul...’)
#5 /var/www/vhosts/outdoor-casual-furniture.com/app/code/core/Mage/Core/Block/Template.php(183): Mage_Core_Block_Template->renderView()
#6 /var/www/vhosts/outdoor-casual-furniture.com/app/code/core/Mage/Core/Block/Abstract.php(549): Mage_Core_Block_Template->_toHtml()
#7 /var/www/vhosts/outdoor-casual-furniture.com/app/code/core/Mage/Core/Model/Email/Template/Filter.php(45): Mage_Core_Block_Abstract->toHtml()
#8 [internal function]: Mage_Core_Model_Email_Template_Filter->blockDirective(Array)
#9 /var/www/vhosts/outdoor-casual-furniture.com/lib/Varien/Filter/Template.php(121): call_user_func(Array, Array)
#10 /var/www/vhosts/outdoor-casual-furniture.com/app/code/core/Mage/Cms/Block/Page.php(33): Varien_Filter_Template->filter(’<div class="col...’)
#11 /var/www/vhosts/outdoor-casual-furniture.com/app/code/core/Mage/Core/Block/Abstract.php(549): Mage_Cms_Block_Page->_toHtml()
#12 /var/www/vhosts/outdoor-casual-furniture.com/app/code/core/Mage/Core/Block/Text/List.php(36): Mage_Core_Block_Abstract->toHtml()
#13 /var/www/vhosts/outdoor-casual-furniture.com/app/code/core/Mage/Core/Block/Abstract.php(549): Mage_Core_Block_Text_List->_toHtml()
#14 /var/www/vhosts/outdoor-casual-furniture.com/app/code/core/Mage/Core/Block/Abstract.php(435): Mage_Core_Block_Abstract->toHtml()
#15 /var/www/vhosts/outdoor-casual-furniture.com/app/code/core/Mage/Core/Block/Abstract.php(412): Mage_Core_Block_Abstract->_getChildHtml(’content’, true)
#16 /var/www/vhosts/outdoor-casual-furniture.com/app/design/frontend/default/default/template/page/2columns-right.phtml(54): Mage_Core_Block_Abstract->getChildHtml(’content’)
#17 /var/www/vhosts/outdoor-casual-furniture.com/app/code/core/Mage/Core/Block/Template.php(112): include(’/var/www/vhosts...’)
#18 /var/www/vhosts/outdoor-casual-furniture.com/app/code/core/Mage/Core/Block/Template.php(144): Mage_Core_Block_Template->fetchView(’frontend/defaul...’)
#19 /var/www/vhosts/outdoor-casual-furniture.com/app/code/core/Mage/Core/Block/Template.php(183): Mage_Core_Block_Template->renderView()
#20 /var/www/vhosts/outdoor-casual-furniture.com/app/code/core/Mage/Core/Block/Abstract.php(549): Mage_Core_Block_Template->_toHtml()
#21 /var/www/vhosts/outdoor-casual-furniture.com/app/code/core/Mage/Core/Model/Layout.php(437): Mage_Core_Block_Abstract->toHtml()
#22 /var/www/vhosts/outdoor-casual-furniture.com/app/code/core/Mage/Core/Controller/Varien/Action.php(314): Mage_Core_Model_Layout->getOutput()
#23 /var/www/vhosts/outdoor-casual-furniture.com/app/code/core/Mage/Cms/Helper/Page.php(84): Mage_Core_Controller_Varien_Action->renderLayout()
#24 /var/www/vhosts/outdoor-casual-furniture.com/app/code/core/Mage/Cms/controllers/IndexController.php(26): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), ‘home’)
#25 /var/www/vhosts/outdoor-casual-furniture.com/app/code/core/Mage/Core/Controller/Varien/Action.php(337): Mage_Cms_IndexController->indexAction()
#26 /var/www/vhosts/outdoor-casual-furniture.com/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(149): Mage_Core_Controller_Varien_Action->dispatch(’index’)
#27 /var/www/vhosts/outdoor-casual-furniture.com/app/code/core/Mage/Core/Controller/Varien/Front.php(147): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#28 /var/www/vhosts/outdoor-casual-furniture.com/app/Mage.php(388): Mage_Core_Controller_Varien_Front->dispatch()
#29 /var/www/vhosts/outdoor-casual-furniture.com/index.php(28): Mage::run(’base’)
#30 {main}

Thanks
Daniel

 
Magento Community Magento Community
Magento Community
Magento Community
 
Danielc1234
Sr. Member
 
Avatar
Total Posts:  175
Joined:  2008-01-09
Miami, FL - United States
 

Nevermind....I figured it out.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Chris Williams
Member
 
Avatar
Total Posts:  67
Joined:  2007-09-02
Dallas, TX
 

Isn’t that always the way? grin

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top