Sites been slow and many people are unable to access to the site. The exception.logs been throwing up an an invalid block error and i cant find where this error is cropping up from. The error is mainly in the PRODUCT.INFO.UPSELL block and i tried searching through the layout xml files but i couldnt find anything. Can someone help please.
The error is as follows
exception 'Mage_Core_Exception' with message 'Invalid block type: ' in /home/*******/public_html/app/Mage.php:595
/home/*******/public_html/app/code/core/Mage/Core/Model/Layout.php(495): Mage::throwException('Invalid block t...')
/home/*******/public_html/app/code/core/Mage/Core/Model/Layout.php(437): Mage_Core_Model_Layout->_getBlockInstance('', Array)
/home/*******/public_html/app/code/core/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock('', 'product.info.up...')
/home/*******/public_html/app/code/core/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout->addBlock('', 'product.info.up...')
/home/*******/public_html/app/code/core/Mage/Core/Model/Layout.php(205): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
/home/*******/public_html/app/code/core/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
/home/*******/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks()
/home/*******/public_html/app/code/core/Mage/Catalog/Helper/Product/View.php(73): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
/home/*******/public_html/app/code/core/Mage/Catalog/Helper/Product/View.php(144): Mage_Catalog_Helper_Product_View->initProductLayout(Object(Mage_Catalog_Model_Product), Object(Mage_Catalog_ProductController))
/home/*******/public_html/app/code/core/Mage/Catalog/controllers/ProductController.php(132): Mage_Catalog_Helper_Product_View->prepareAndRender(28, Object(Mage_Catalog_ProductController), Object(Varien_Object))
/home/*******/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Catalog_ProductController->viewAction()
/home/*******/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('view')
/home/*******/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))
/home/*******/public_html/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
/home/*******/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
/home/*******/p
I tried the following solution, https://stackoverflow.com/questions/21217215/magento-illegal-block-type which says - It looks like something to do with your upsell block on the product view page. Check your template files (catalog.xml) and ensure you have a block type set for the block definition with name product.info.upsell. To establish if this is where you error originates you could comment out the line getChildHtml('upsell_products'); ?> in view.phtml and the xml definitions for the block mentioned above.
So i went to the following destination on my magento installation -
/home/xxxxxxxxxx/public_html/app/design/frontend/megatron/default/template/catalog/product/view.phtml
and applied the above mentioned solution but still no success