error processing

Hi guys,
when set layout "jm_natris" in Configuration > General > Design > Themes > Layout (or Default), I get error message of frontpage.

Code:

a:5:{i:0;s:96:"Invalid method Mage_Page_Block_Template_Links::addLinkBlock(Array
(
    [0] => wishlist_link
)
)";i:1;s:2131:"#0 [internal function]: Varien_Object->__call('addLinkBlock', Array)
#1 [internal function]: Mage_Page_Block_Template_Links->addLinkBlock('wishlist_link')
#2 /var/home/www/fishop.cz/www/app/code/core/Mage/Core/Model/Layout.php(347): call_user_func_array(Array, Array)
#3 /var/home/www/fishop.cz/www/app/code/core/Mage/Core/Model/Layout.php(213): Mage_Core_Model_Layout->_generateAction(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#4 /var/home/www/fishop.cz/www/app/code/core/Mage/Core/Model/Layout.php(209): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#5 /var/home/www/fishop.cz/www/app/code/core/Mage/Core/Controller/Varien/Action.php(343): Mage_Core_Model_Layout->generateBlocks()
#6 /var/home/www/fishop.cz/www/app/code/core/Mage/Cms/Helper/Page.php(110): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#7 /var/home/www/fishop.cz/www/app/code/core/Mage/Cms/Helper/Page.php(52): Mage_Cms_Helper_Page->_renderPage(Object(Mage_Cms_IndexController), 'b2b-home-cz')
#8 /var/home/www/fishop.cz/www/app/code/core/Mage/Cms/controllers/IndexController.php(45): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), 'b2b-home-cz')
#9 /var/home/www/fishop.cz/www/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Cms_IndexController->indexAction()
#10 /var/home/www/fishop.cz/www/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('index')
#11 /var/home/www/fishop.cz/www/app/code/core/Mage/Core/Controller/Varien/Front.php(177): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#12 /var/home/www/fishop.cz/www/app/code/core/Mage/Core/Model/App.php(304): Mage_Core_Controller_Varien_Front->dispatch()
#13 /var/home/www/fishop.cz/www/app/Mage.php(596): Mage_Core_Model_App->run(Array)
#14 /var/home/www/fishop.cz/www/index.php(80): Mage::run('b2b', 'website')
#15 /var/home/www/fishop.cz/www/ultimage.php(71): include('/var/home/www/f...')
#16 /var/home/www/fishop.cz/www/ultimage.php(128): magento_run_wrapper()
#17 {main}";s:3:"url";s:14:"/ultimage.php/";s:11:"script_name";s:13:"/ultimage.php";s:4:"skin";s:6:"b2b_cz";}

I disabled all external extensions. Magento v1.4.1.1. You advise?

1 answer

Profile photo of Jindra Hejlí­k 0.00 $tone February 9, 2011
Public

Solved…
I replaced code in file app/design/frontend/default/jm_natris/layout/wishlist.xml

old

Code:

<block type="wishlist/links" name="wishlist_link"/>
<action method="addLinkBlock"><blockName>wishlist_link</blockName></action>

new

Code:

<block type="wishlist/links" name="wishlist_link">
<action method="addWishlistLink"></action>
</block>
#1

This question is now closed

Written By

Comments