Fatal error: Uncaught Error: Call to a member function toHtml() on boolean in /var/www/vhosts/Site/httpdocs/app/code/core/Mage/Adminhtml/Block/Catalog/Category/Tabs.php:153 Stack trace: #0 /var/www/vhosts/Site/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(297): Mage_Adminhtml_Block_Catalog_Category_Tabs->_prepareLayout() #1 /var/www/vhosts/Site/httpdocs/app/code/core/Mage/Core/Model/Layout.php(456): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout)) #2 /var/www/vhosts/Site/httpdocs/app/code/core/Mage/Adminhtml/Block/Catalog/Category/Edit/Form.php(55): Mage_Core_Model_Layout->createBlock('adminhtml/catal...', 'tabs') #3 /var/www/vhosts/Site/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(297): Mage_Adminhtml_Block_Catalog_Category_Edit_Form->_prepareLayout() #4 /var/www/vhosts/Site/httpdocs/app/code/core/Mage/Core/Model/Layout.php(456): in /var/www/vhosts/Site/httpdocs/app/code/core/Mage/Adminhtml/Block/Catalog/Category/Tabs.php on line 153 $this->addTab('products', array( 'label' => Mage::helper('catalog')->__('Category Products'), 'content' => $this->getLayout()->createBlock( 'adminhtml/catalog_category_tab_product', 'category.product.grid' )->toHtml(), ));
Hello, i have had this error for sometime now but cannot seem to find the problem i have been over the file in question that is returning the error and looked through app\code\core\Mage\Adminhtml\etc\adminhtml.xml app\code\core\Mage\Adminhtml\etc\config.xml
and they are both correct and exactly the same as what is package with plain magento.
we haven't added any modules or changed any core code files this error has just appeared, if anyone could help this would be great.
This only seems to happen when trying to go to the category admin page.
header_nav -> catalog -> manage categories