Magento Forum

Erro ao clicar na página de cada categoria. 
 
Orneles
Jr. Member
 
Total Posts:  10
Joined:  2010-03-28
 

Galera, atualizei meu magento ontem e todas as paginas estão funcionando. Porém quando tento acessar a página da categoria mãe.. ele retorna com erro:

www.oculosstore.com.br

There has been an error processing your request

Invalid method Mage_Catalog_Block_Product_List_Toolbar::isLastPage(Array
(
)
)

Trace:
#0 [internal function]: Varien_Object->__call(’isLastPage’, Array)
#1 E:\home\oculosstor\Web\app\design\frontend\blank\default\template\catalog\product\list\toolbar.phtml(69): Mage_Catalog_Block_Product_List_Toolbar->isLastPage()
#2 E:\home\oculosstor\Web\app\code\core\Mage\Core\Block\Template.php(212): include(’E:\home\oculoss...’)
#3 E:\home\oculosstor\Web\app\code\core\Mage\Core\Block\Template.php(239): Mage_Core_Block_Template->fetchView(’frontend\blank\...’)
#4 E:\home\oculosstor\Web\app\code\core\Mage\Core\Block\Template.php(253): Mage_Core_Block_Template->renderView()
#5 E:\home\oculosstor\Web\app\code\core\Mage\Core\Block\Abstract.php(753): Mage_Core_Block_Template->_toHtml()
#6 E:\home\oculosstor\Web\app\code\core\Mage\Core\Block\Abstract.php(520): Mage_Core_Block_Abstract->toHtml()
#7 E:\home\oculosstor\Web\app\code\core\Mage\Core\Block\Abstract.php(471): Mage_Core_Block_Abstract->_getChildHtml(’toolbar’, true)
#8 E:\home\oculosstor\Web\app\code\core\Mage\Catalog\Block\Product\List.php(182): Mage_Core_Block_Abstract->getChildHtml(’toolbar’)
#9 E:\home\oculosstor\Web\app\design\frontend\blank\theme151\template\catalog\product\list.phtml(36): Mage_Catalog_Block_Product_List->getToolbarHtml()
#10 E:\home\oculosstor\Web\app\code\core\Mage\Core\Block\Template.php(212): include(’E:\home\oculoss...’)
#11 E:\home\oculosstor\Web\app\code\core\Mage\Core\Block\Template.php(239): Mage_Core_Block_Template->fetchView(’frontend\blank\...’)
#12 E:\home\oculosstor\Web\app\code\core\Mage\Core\Block\Template.php(253): Mage_Core_Block_Template->renderView()
#13 E:\home\oculosstor\Web\app\code\core\Mage\Core\Block\Abstract.php(753): Mage_Core_Block_Template->_toHtml()
#14 E:\home\oculosstor\Web\app\code\core\Mage\Core\Block\Abstract.php(520): Mage_Core_Block_Abstract->toHtml()
#15 E:\home\oculosstor\Web\app\code\core\Mage\Core\Block\Abstract.php(471): Mage_Core_Block_Abstract->_getChildHtml(’product_list’, true)
#16 E:\home\oculosstor\Web\app\code\core\Mage\Catalog\Block\Category\View.php(85): Mage_Core_Block_Abstract->getChildHtml(’product_list’)
#17 E:\home\oculosstor\Web\app\design\frontend\blank\default\template\catalog\category\view.phtml(92): Mage_Catalog_Block_Category_View->getProductListHtml()
#18 E:\home\oculosstor\Web\app\code\core\Mage\Core\Block\Template.php(212): include(’E:\home\oculoss...’)
#19 E:\home\oculosstor\Web\app\code\core\Mage\Core\Block\Template.php(239): Mage_Core_Block_Template->fetchView(’frontend\blank\...’)
#20 E:\home\oculosstor\Web\app\code\core\Mage\Core\Block\Template.php(253): Mage_Core_Block_Template->renderView()
#21 E:\home\oculosstor\Web\app\code\core\Mage\Core\Block\Abstract.php(753): Mage_Core_Block_Template->_toHtml()
#22 E:\home\oculosstor\Web\app\code\core\Mage\Core\Block\Text\List.php(43): Mage_Core_Block_Abstract->toHtml()
#23 E:\home\oculosstor\Web\app\code\core\Mage\Core\Block\Abstract.php(753): Mage_Core_Block_Text_List->_toHtml()
#24 E:\home\oculosstor\Web\app\code\core\Mage\Core\Block\Abstract.php(520): Mage_Core_Block_Abstract->toHtml()
#25 E:\home\oculosstor\Web\app\code\core\Mage\Core\Block\Abstract.php(471): Mage_Core_Block_Abstract->_getChildHtml(’content’, true)
#26 E:\home\oculosstor\Web\app\design\frontend\blank\theme151\template\page\2columns-right.phtml(54): Mage_Core_Block_Abstract->getChildHtml(’content’)
#27 E:\home\oculosstor\Web\app\code\core\Mage\Core\Block\Template.php(212): include(’E:\home\oculoss...’)
#28 E:\home\oculosstor\Web\app\code\core\Mage\Core\Block\Template.php(239): Mage_Core_Block_Template->fetchView(’frontend\blank\...’)
#29 E:\home\oculosstor\Web\app\code\core\Mage\Core\Block\Template.php(253): Mage_Core_Block_Template->renderView()
#30 E:\home\oculosstor\Web\app\code\core\Mage\Core\Block\Abstract.php(753): Mage_Core_Block_Template->_toHtml()
#31 E:\home\oculosstor\Web\app\code\core\Mage\Core\Model\Layout.php(529): Mage_Core_Block_Abstract->toHtml()
#32 E:\home\oculosstor\Web\app\code\core\Mage\Core\Controller\Varien\Action.php(389): Mage_Core_Model_Layout->getOutput()
#33 E:\home\oculosstor\Web\app\code\core\Mage\Catalog\controllers\CategoryController.php(115): Mage_Core_Controller_Varien_Action->renderLayout()
#34 E:\home\oculosstor\Web\app\code\core\Mage\Core\Controller\Varien\Action.php(418): Mage_Catalog_CategoryController->viewAction()
#35 E:\home\oculosstor\Web\app\code\core\Mage\Core\Controller\Varien\Router\Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch(’view’)
#36 E:\home\oculosstor\Web\app\code\core\Mage\Core\Controller\Varien\Front.php(177): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#37 E:\home\oculosstor\Web\app\code\core\Mage\Core\Model\App.php(304): Mage_Core_Controller_Varien_Front->dispatch()
#38 E:\home\oculosstor\Web\app\Mage.php(596): Mage_Core_Model_App->run(Array)
#39 E:\home\oculosstor\Web\index.php(80): Mage::run(’’, ‘store’)
#40 {main}

Error log record number: 1458690747

 
Magento Community Magento Community
Magento Community
Magento Community
 
Orneles
Jr. Member
 
Total Posts:  10
Joined:  2010-03-28
 

achei a solução:

“Achei a solução para esse problema com a contribuição de mawe no post http://www.magentocommerce.com/boards/viewthread/76826/P0/

edite o arquivo app/code/core/Mage/Catalog/Block/Product/List/Toolbar.php

e substitua a linha:

class Mage_Catalog_Block_Product_List_Toolbar extends Mage_Core_Block_Template
por
class Mage_Catalog_Block_Product_List_Toolbar extends Mage_Page_Block_Html_Pager “

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