Magento Forum

Getting error when trying to search “Invalid method Mage_CatalogSearch_Block_Result::initList”
 
luke
Jr. Member
 
Total Posts:  11
Joined:  2007-09-01
 

When I try to perform a search on my site, it gives me this error. What does this mean?

Invalid method Mage_CatalogSearch_Block_Result::initList(Array
(
    
[0] => catalog/product/list.phtml
)
)
Trace:
#0 [internal function]: Varien_Object->__call('initList', Array)
#1 [internal function]: Mage_CatalogSearch_Block_Result->initList('catalog/product...')
#2 C:\wamp\www\temp\sensationalsinks\app\code\core\Mage\Core\Model\Layout.php(328): call_user_func_array(Array, Array)
#3 C:\wamp\www\temp\sensationalsinks\app\code\core\Mage\Core\Model\Layout.php(204): Mage_Core_Model_Layout->_generateAction(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#4 C:\wamp\www\temp\sensationalsinks\app\code\core\Mage\Core\Model\Layout.php(196): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#5 C:\wamp\www\temp\sensationalsinks\app\code\core\Mage\Core\Model\Layout.php(200): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#6 C:\wamp\www\temp\sensationalsinks\app\code\core\Mage\Core\Controller\Varien\Action.php(285): Mage_Core_Model_Layout->generateBlocks()
#7 C:\wamp\www\temp\sensationalsinks\app\code\core\Mage\Core\Controller\Varien\Action.php(222): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#8 C:\wamp\www\temp\sensationalsinks\app\code\core\Mage\CatalogSearch\controllers\ResultController.php(54): Mage_Core_Controller_Varien_Action->loadLayout()
#9 C:\wamp\www\temp\sensationalsinks\app\code\core\Mage\Core\Controller\Varien\Action.php(349): Mage_CatalogSearch_ResultController->indexAction()
#10 C:\wamp\www\temp\sensationalsinks\app\code\core\Mage\Core\Controller\Varien\Router\Standard.php(163): Mage_Core_Controller_Varien_Action->dispatch('index')
#11 C:\wamp\www\temp\sensationalsinks\app\code\core\Mage\Core\Controller\Varien\Front.php(174): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#12 C:\wamp\www\temp\sensationalsinks\app\Mage.php(447): Mage_Core_Controller_Varien_Front->dispatch()
#13 C:\wamp\www\temp\sensationalsinks\index.php(52): Mage::run()
#14 {main}
 
Magento Community Magento Community
Magento Community
Magento Community
 
atlantide
Sr. Member
 
Avatar
Total Posts:  187
Joined:  2008-02-16
France
 

I get the same error, on Magento 1.1.5, when I use my custom theme (designed for 1.0.19700)

When using the default theme it works…

Any idea ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Michae1
Enthusiast
 
Total Posts:  826
Joined:  2007-08-31
 
atlantide - 09 October 2008 07:12 AM

I get the same error, on Magento 1.1.5, when I use my custom theme (designed for 1.0.19700)

When using the default theme it works…

Any idea ?

You can try to follow this guide to upgrade your old theme accordingly.

 
Magento Community Magento Community
Magento Community
Magento Community
 
clickcomkyle
Jr. Member
 
Total Posts:  28
Joined:  2008-08-07
 

i get the same error as above. i can view categories, and view the product page, just cannot search.

i am moving to 1.1.6 and have replaced catalog.xml and catalogsearch.xml as well as a bunch of other files. that guide doesnt have anything for this problem, but i have tried many of the things it says without any success.

 
Magento Community Magento Community
Magento Community
Magento Community
 
invaderflid
Member
 
Avatar
Total Posts:  59
Joined:  2008-10-21
Northport Long Island New York
 

I’m having the same problem for my custom theme, the default theme however works fine.  Any help regarding this would be appreciated.

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