Magento Forum

   
URGENT! I just launched site again and got this error…. 
 
proteinshake
Member
 
Total Posts:  42
Joined:  2008-05-12
 

This is the second time my site has crashed soon after I live my google adwords account. Seems like something from google adwords is causing errors in my database. The first time I screwed up and lost all of my products.

Here is the error:

Invalid entity_type specified: catalog_product
Trace:
#0 /public_html/app/code/core/Mage/Eav/Model/Config.php(107): Mage::exception(’Mage_Eav’, ‘Invalid entity_...’)
#1 /public_html/app/code/core/Mage/Eav/Model/Entity/Abstract.php(232): Mage_Eav_Model_Config->getEntityType(’catalog_product’)
#2 /public_html/app/code/core/Mage/Catalog/Model/Resource/Eav/Mysql4/Product.php(39): Mage_Eav_Model_Entity_Abstract->setType(’catalog_product’)
#3 /public_html/app/code/core/Mage/Core/Model/Config.php(697): Mage_Catalog_Model_Resource_Eav_Mysql4_Product->__construct(Array)
#4 /public_html/app/code/core/Mage/Core/Model/Config.php(737): Mage_Core_Model_Config->getModelInstance(’catalog_resourc...’, Array)
#5 /public_html/app/Mage.php(322): Mage_Core_Model_Config->getResourceModelInstance(’catalog/product’, Array)
#6 /public_html/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(106): Mage::getResourceModel(’catalog/product’)
#7 /public_html/app/code/core/Mage/Catalog/Model/Resource/Eav/Mysql4/Product/Collection.php(44): Mage_Eav_Model_Entity_Collection_Abstract->_init(’catalog/product’)
#8 /public_html/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(67): Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection->_construct()
#9 /public_html/app/code/core/Mage/Core/Model/Config.php(697): Mage_Eav_Model_Entity_Collection_Abstract->__construct(Array)
#10 /public_html/app/code/core/Mage/Core/Model/Config.php(737): Mage_Core_Model_Config->getModelInstance(’wishlist_mysql4...’, Array)
#11 /public_html/app/Mage.php(322): Mage_Core_Model_Config->getResourceModelInstance(’wishlist/produc...’, Array)
#12 /public_html/app/code/core/Mage/Wishlist/Model/Wishlist.php(93): Mage::getResourceModel(’wishlist/produc...’)
#13 /public_html/app/code/core/Mage/Wishlist/Block/Customer/Sidebar.php(44): Mage_Wishlist_Model_Wishlist->getProductCollection()
#14 /public_html/app/code/core/Mage/Wishlist/Block/Customer/Sidebar.php(35): Mage_Wishlist_Block_Customer_Sidebar->getWishlist()
#15 /public_html/app/code/core/Mage/Wishlist/Block/Customer/Sidebar.php(66): Mage_Wishlist_Block_Customer_Sidebar->getWishlistItems()
#16 /public_html/app/code/core/Mage/Core/Block/Abstract.php(554): Mage_Wishlist_Block_Customer_Sidebar->_toHtml()
#17 /public_html/app/code/core/Mage/Core/Block/Text/List.php(37): Mage_Core_Block_Abstract->toHtml()
#18 /public_html/app/code/core/Mage/Core/Block/Abstract.php(554): Mage_Core_Block_Text_List->_toHtml()
#19 /public_html/app/code/core/Mage/Core/Block/Abstract.php(431): Mage_Core_Block_Abstract->toHtml()
#20 /public_html/app/code/core/Mage/Core/Block/Abstract.php(408): Mage_Core_Block_Abstract->_getChildHtml(’right’, true)
#21 public_html/app/design/frontend/default/default/template/page/2columns-right.phtml(58): Mage_Core_Block_Abstract->getChildHtml(’right’)
#22 /public_html/app/code/core/Mage/Core/Block/Template.php(131): include(’/home/cablboa5/...’)
#23 /public_html/app/code/core/Mage/Core/Block/Template.php(163): Mage_Core_Block_Template->fetchView(’frontend/defaul...’)
#24 /public_html/app/code/core/Mage/Core/Block/Template.php(180): Mage_Core_Block_Template->renderView()
#25 /public_html/app/code/core/Mage/Core/Block/Abstract.php(554): Mage_Core_Block_Template->_toHtml()
#26 /public_html/app/code/core/Mage/Core/Model/Layout.php(505): Mage_Core_Block_Abstract->toHtml()
#27 /public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(319): Mage_Core_Model_Layout->getOutput()
#28 /public_html/app/code/core/Mage/Cms/Helper/Page.php(77): Mage_Core_Controller_Varien_Action->renderLayout()
#29 //public_html/app/code/core/Mage/Cms/controllers/IndexController.php(26): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), ‘home’)
#30 /public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(342): Mage_Cms_IndexController->indexAction()
#31 /public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(159): Mage_Core_Controller_Varien_Action->dispatch(’index’)
#32 /public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(146): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#33 public_html/app/Mage.php(427): Mage_Core_Controller_Varien_Front->dispatch()
#34 /public_html/index.php(40): Mage::run()
#35 {main}

 
Magento Community Magento Community
Magento Community
Magento Community
 
proteinshake
Member
 
Total Posts:  42
Joined:  2008-05-12
 

Fixed for now. I just deleted the files out of var/cache and disabled cache so hopefully it wont happen again with cache disabled.

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