|
All in a sudden this error appears when an order is being confirmed by the customer: invalid entry_type stated: order_item
When i log into the adminpanel i get to see the following:
Invalid entry_type stated: order_item
Trace:
#0 /home/admin/domains/xxxx.nl/public_html/app/code/core/Mage/Eav/Model/Config.php(107): Mage::exception(’Mage_Eav’, ‘Ongeldig entry_...’)
#1 /home/admin/domains/xxxxxx.nl/public_html/app/code/core/Mage/Eav/Model/Entity/Abstract.php(232): Mage_Eav_Model_Config->getEntityType(’order_item’)
#2 /home/admin/domains/xxxxxx.nl/public_html/app/code/core/Mage/Sales/Model/Entity/Order/Item.php(35): Mage_Eav_Model_Entity_Abstract->setType(’order_item’)
#3 /home/admin/domains/xxxx.nl/public_html/app/code/core/Mage/Core/Model/Config.php(697): Mage_Sales_Model_Entity_Order_Item->__construct(Array)
#4 /home/admin/domains/xxxxxx.nl/public_html/app/code/core/Mage/Core/Model/Config.php(737): Mage_Core_Model_Config->getModelInstance(’sales_entity/or...’, Array)
#5 /home/admin/domains/xxxxxx.nl/public_html/app/Mage.php(322): Mage_Core_Model_Config->getResourceModelInstance(’sales/order_ite...’, Array)
#6 /home/admin/domains/xxxxxxx.nl/public_html/app/Mage.php(336): Mage::getResourceModel(’sales/order_ite...’, Array)
#7 /home/admin/domains/xxxxxxxxxx.nl/public_html/app/code/core/Mage/Reports/Model/Mysql4/Product/Collection.php(172): Mage::getResourceSingleton(’sales/order_ite...’)
#8 /home/admin/domains/xxxxxx.nl/public_html/app/code/core/Mage/Adminhtml/Block/Dashboard/Tab/Products/Ordered.php(51): Mage_Reports_Model_Mysql4_Product_Collection->addOrderedQty()
#9 /home/admin/domains/xxxxxxx.nl/public_html/app/code/core/Mage/Adminhtml/Block/Widget/Grid.php(438): Mage_Adminhtml_Block_Dashboard_Tab_Products_Ordered->_prepareCollection()
#10 /home/admin/domains/xxxxxxxx.nl/public_html/app/code/core/Mage/Adminhtml/Block/Widget/Grid.php(444): Mage_Adminhtml_Block_Widget_Grid->_prepareGrid()
#11 /home/admin/domains/xxxxxxxxxx.nl/public_html/app/code/core/Mage/Core/Block/Abstract.php(553): Mage_Adminhtml_Block_Widget_Grid->_beforeToHtml()
#12 /home/admin/domains/xxxxxxx.nl/public_html/app/code/core/Mage/Adminhtml/Block/Dashboard/Grids.php(43): Mage_Core_Block_Abstract->toHtml()
#13 /home/admin/domains/xxxxxx.nl/public_html/app/code/core/Mage/Core/Block/Abstract.php(193): Mage_Adminhtml_Block_Dashboard_Grids->_prepareLayout()
#14 /home/admin/domains/xxxxxxxx.nl/public_html/app/code/core/Mage/Core/Model/Layout.php(402): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#15 /home/admin/domains/xxxxxx.nl/public_html/app/code/core/Mage/Adminhtml/Block/Dashboard.php(66): Mage_Core_Model_Layout->createBlock(’adminhtml/dashb...’)
#16 /home/admin/domains/xxxxxxxx.nl/public_html/app/code/core/Mage/Core/Block/Abstract.php(193): Mage_Adminhtml_Block_Dashboard->_prepareLayout()
#17 /home/admin/domains/xxxxxx.nl/public_html/app/code/core/Mage/Core/Model/Layout.php(402): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#18 /home/admin/domains/xxxxxxx.nl/public_html/app/code/core/Mage/Adminhtml/controllers/DashboardController.php(35): Mage_Core_Model_Layout->createBlock(’adminhtml/dashb...’, ‘dashboard’)
#19 /home/admin/domains/xxxxxxxx.nl/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(342): Mage_Adminhtml_DashboardController->indexAction()
#20 /home/admin/domains/xxxxx.nl/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Admin.php(148): Mage_Core_Controller_Varien_Action->dispatch(’index’)
#21 /home/admin/domains/xxxxxx.nl/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(146): Mage_Core_Controller_Varien_Router_Admin->match(Object(Mage_Core_Controller_Request_Http))
#22 /home/admin/domains/xxxxxxxx.nl/public_html/app/Mage.php(427): Mage_Core_Controller_Varien_Front->dispatch()
#23 /home/admin/domains/xxxxxxxx.nl/public_html/index.php(40): Mage::run()
#24 {main}
The store has been running fine for 5 months.... DOes anybody know what the problem is and how to fix it?
I’ve repaired the database but that didn’t do much.
|