After Installing the magento 1.4.2.0, when we update the old version theme from Magento 1.4.1.1 into the newer version 1.4.2.0, we face some error code as show below:

Error is occurred due to the call of invalid method (ie.,) addWishlistLink method, which is not used in the new version. So these error is occurs.
In order to avoid this, we need to use the wishlist.xml file from base folder for your old theme, or else follow the below steps:
In order to clear the above error, we need to edit wishlist.xm l file from your theme folder with following steps.
- 1. Open the wishlist.xml path ‘Root/design/frontend/[theme name]/layout/ ’
- 2. Find following lines from wishlist.xml
- <reference name="top.links">
- <block type="wishlist/links" name="wishlist_link">
- <action method="addWishlistLink"></action>
- </block>
- </reference>
- Remove the above lines and place following lines in same place.
- <reference name="top.links">
- <block type="wishlist/links" name="wishlist_link"/>
- <action method="addLinkBlock">
- <blockName>wishlist_link</blockName>
- </action>
- </reference>
- Finally save your changes.
- As we know that Magento stores the caches of all XML files, so we need to clear the cache under System > Cache Management.
And now, your old version theme is working fine with latest magento 1.4.1.2 as shown
This entry was posted on Tuesday, January 18th, 2011 at 6:43 am and is filed under Magento Admin, Magento Templates. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.













February 19th, 2011 at 6:06 pm
I’m interested to know if it’s alright to copy some piece of this publication to use for my presentation project.