Fatal error: Uncaught TypeError: Argument 1 passed to Mage_Catalog_Model_Resource_Product_Collection::addCategoryFilter() must be an instance of Mage_Catalog_Model_Category, instance of Varien_Data_Tree_Node given, called in /home/core/public_html/app/code/local/Intelmais/Modulos/Block/Catalog/Navigation.php on line 130 and defined in /home/core/public_html/app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php:717
Stack trace:
#0 /home/core/public_html/app/code/local/Intelmais/Modulos/Block/Catalog/Navigation.php(130): Mage_Catalog_Model_Resource_Product_Collection->addCategoryFilter(Object(Varien_Data_Tree_Node))
#1 /home/core/public_html/app/code/local/Intelmais/Modulos/Block/Catalog/Navigation.php(263): Intelmais_Modulos_Block_Catalog_Navigation->drawItem(Object(Varien_Data_Tree_Node), 0, 1)
#2 /home/core/public_html/app/design/frontend/base/default/template/catalog/navigation/nav-menu.phtml(2): Intelmais_Modulos_Block_Catalog_Navigation->getTopMenuCategories()
#3 /home/core/public_html/app/code/core/Mage/Co in /home/core/public_html/app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php on line 717