Menthu
Total Posts: 31
Joined: 2010-09-01
Dear Community,
I just upgraded from 1.5 to 1.6 and I received this error when I add a product to the Wishlist. All pages except the mainpage don’t function anymore. When I remove the product from the Wistlist via de admin panel then I can use the site again.
I figure it is something with the custom theme that I am using but I can’t see what I need to change.
Invalid method Mage_Wishlist_Model_Item::isGrouped(Array
(
)
)
Trace:
#0 /harshop/app/design/frontend/blank/themeharmedia/template/catalog/product/price.phtml(46): Varien_Object->__call(’isGrouped’, Array)
#1 /harshop/app/design/frontend/blank/themeharmedia/template/catalog/product/price.phtml(46): Mage_Wishlist_Model_Item->isGrouped()
#2 /harshop/app/code/core/Mage/Core/Block/Template.php(241): include(’/usr/home/deb25...’)
#3 /harshop/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView(’frontend/blank/...’)
#4 /harshop/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#5 /harshop/app/code/core/Mage/Catalog/Block/Product/Price.php(144): Mage_Core_Block_Template->_toHtml()
#6 /harshop/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Catalog_Block_Product_Price->_toHtml()
#7 /harshop/app/code/core/Mage/Wishlist/Block/Abstract.php(377): Mage_Core_Block_Abstract->toHtml()
#8 /harshop/app/design/frontend/blank/themeharmedia/template/wishlist/sidebar.phtml(46): Mage_Wishlist_Block_Abstract->getPriceHtml(Object(Mage_Wishlist_Model_Item))
#9 /harshop/app/code/core/Mage/Core/Block/Template.php(241): include(’/usr/home/deb25...’)
#10 /harshop/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView(’frontend/blank/...’)
#11 /harshop/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#12 /harshop/app/code/core/Mage/Wishlist/Block/Customer/Sidebar.php(61): Mage_Core_Block_Template->_toHtml()
#13 /harshop/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Wishlist_Block_Customer_Sidebar->_toHtml()
#14 /harshop/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#15 /harshop/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Text_List->_toHtml()
#16 /harshop/app/code/core/Mage/Core/Block/Abstract.php(582): Mage_Core_Block_Abstract->toHtml()
#17 /harshop/app/code/core/Mage/Core/Block/Abstract.php(526): Mage_Core_Block_Abstract->_getChildHtml(’left’, true)
#18 /harshop/app/design/frontend/blank/themeharmedia/template/page/2columns-left.phtml(49): Mage_Core_Block_Abstract->getChildHtml(’left’)
#19 /harshop/app/code/core/Mage/Core/Block/Template.php(241): include(’/usr/home/deb25...’)
#20 /harshop/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView(’frontend/blank/...’)
#21 /harshop/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#22 /harshop/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->_toHtml()
#23 /harshop/app/code/core/Mage/Core/Model/Layout.php(529): Mage_Core_Block_Abstract->toHtml()
#24 /harshop/app/code/core/Mage/Core/Controller/Varien/Action.php(391): Mage_Core_Model_Layout->getOutput()
#25 /harshop/app/code/core/Mage/Wishlist/controllers/IndexController.php(131): Mage_Core_Controller_Varien_Action->renderLayout()
#26 /harshop/app/code/core/Mage/Core/Controller/Varien/Action.php(420): Mage_Wishlist_IndexController->indexAction()
#27 /harshop/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch(’index’)
#28 /harshop/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#29 /harshop/app/code/core/Mage/Core/Model/App.php(347): Mage_Core_Controller_Varien_Front->dispatch()
#30 /harshop/app/Mage.php(640): Mage_Core_Model_App->run(Array)
#31 /harshop/index.php(80): Mage::run(’’, ‘store’)
#32 {main}
I tried to search google for the answer but it seems this error is quite rare
If anyone can help it would be very much appreciated. At this moment the whole Wishlist function is causing errors on the site.
Kind regards,
Menthu
Posted: October 9 2011
| top
Menthu
Total Posts: 31
Joined: 2010-09-01
Anyone? Help would be very much appriciated.
Kind regards,
Menthu
Posted: October 9 2011
| top
| # 1
Menthu
Total Posts: 31
Joined: 2010-09-01
Solved
Posted: October 10 2011
| top
| # 2
torsti
Total Posts: 10
Joined: 2010-07-26
I Ran in same Error - Admin shows Articles on Wishlists, Frontend says it is Empty except Link in header shows me Number of Items.
Please let me know how you solve this problem.
Posted: October 10 2011
| top
| # 3
Menthu
Total Posts: 31
Joined: 2010-09-01
I replaced the following files from my custom template with the same files from the base/default ones.
base/default/template/catalog/product/price.phtml
base/default/template/catalog/product/price_msrp.phtml
base/default/template/catalog/product/price_msrp_item.phtml
base/default/template/catalog/product/price_msrp_noform.phtml
base/default/template/catalog/product/price_msrp_rss.phtml
base/default/template/wishlist (Yes, the whole folder)
base/default/layout/wishlist.xml
Note: I have Magento CE 1.6. If you have an earlier version then you will probably only see the price.phtml and not those other variants of it.
Ofcourse you need to redesign those pages but that isn’t alot of work (in my opinion).
Kind regards,
Menthu
Posted: October 11 2011
| top
| # 4
torsti
Total Posts: 10
Joined: 2010-07-26
Menthu - 10 October 2011 04:53 PM
I replaced the following files from my custom template with the same files from the base/default ones.
base/default/template/catalog/product/price.phtml
base/default/template/catalog/product/price_msrp.phtml
base/default/template/catalog/product/price_msrp_item.phtml
base/default/template/catalog/product/price_msrp_noform.phtml
base/default/template/catalog/product/price_msrp_rss.phtml
base/default/template/wishlist (Yes, the whole folder)
base/default/layout/wishlist.xml
Note: I have Magento CE 1.6. If you have an earlier version then you will probably only see the price.phtml and not those other variants of it.
Ofcourse you need to redesign those pages but that isn’t alot of work (in my opinion).
Kind regards,
Menthu
Works well for me, thanks to Menthu for this well Solution. It helps me finding some “old” modded Files of Magento 1.4 - now i am on 1.6.
Posted: October 11 2011
| top
| # 6
JavierMex
Total Posts: 1
Joined: 2009-11-09
Some how this solution did not work for me. I received a debug mail with this error. Tested adding a product to my wishlist and after logging in I had this error on any page that had a product.
After spending a very bad time trying to fix this issue I chose to disable the complete module from the configuration to be able to display any product. Now I have detected that the issue only comes when I am logged in…
I have already copied the files mentioned above and did not make any difference. Actually if I erase those files then the ones from /base/ are used and still does not work.
For now I know it has something to do with logged in users and wishlist. If you have any other clues please let me know.
Regards,
Posted: December 6 2011
| top
| # 7
web_conception
Total Posts: 1
Joined: 2011-06-23
JavierMex - 05 December 2011 11:48 PM
Some how this solution did not work for me. I received a debug mail with this error. Tested adding a product to my wishlist and after logging in I had this error on any page that had a product.
After spending a very bad time trying to fix this issue I chose to disable the complete module from the configuration to be able to display any product. Now I have detected that the issue only comes when I am logged in…
I have already copied the files mentioned above and did not make any difference. Actually if I erase those files then the ones from /base/ are used and still does not work.
For now I know it has something to do with logged in users and wishlist. If you have any other clues please let me know.
Regards,
Try deleting or renaming to backup in case this does not work, the folder in custom-theme/template/wishlist (Yes, the whole folder) discovered this by accident and now everything seems to be working strangely even my wishlist.
Posted: December 20 2011
| top
| # 8
FetchDesigns
Total Posts: 124
Joined: 2008-04-11
Chicago, IL
I am having this same issue. I followed Menthu’s suggestion to remove all the files/folder listed from my custom themes, but I am still getting this error (see below). Thoughts? (FYI… I just did an upgrade from 1.4.0.1 to 1.7.0.2)
There has been an error processing your request Invalid method Mage_Wishlist_Model_Item :: isGrouped (Array ( ) ) Trace : #0 /Users/***/Sites/***.com/public_html/app/design/frontend/base/default/template/catalog/product/price.phtml(52): Varien_Object->__call('isGrouped', Array) #1 /Users/***/Sites/***.com/public_html/app/design/frontend/base/default/template/catalog/product/price.phtml(52): Mage_Wishlist_Model_Item->isGrouped() #2 /Users/***/Sites/***.com/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/Users/stephani...') #3 /Users/***/Sites/***.com/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/base/d...') #4 /Users/***/Sites/***.com/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView() #5 /Users/***/Sites/***.com/public_html/app/code/core/Mage/Catalog/Block/Product/Price.php(154): Mage_Core_Block_Template->_toHtml() #6 /Users/***/Sites/***.com/public_html/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Catalog_Block_Product_Price->_toHtml() #7 /Users/***/Sites/***.com/public_html/app/code/core/Mage/Wishlist/Block/Abstract.php(383): Mage_Core_Block_Abstract->toHtml() #8 /Users/***/Sites/***.com/public_html/app/design/frontend/default/default/template/wishlist/sidebar.phtml(51): Mage_Wishlist_Block_Abstract->getPriceHtml(Object(Mage_Wishlist_Model_Item)) #9 /Users/***/Sites/***.com/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/Users/stephani...') #10 /Users/***/Sites/***.com/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/defaul...') #11 /Users/***/Sites/***.com/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView() #12 /Users/***/Sites/***.com/public_html/app/code/core/Mage/Wishlist/Block/Customer/Sidebar.php(71): Mage_Core_Block_Template->_toHtml() #13 /Users/***/Sites/***.com/public_html/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Wishlist_Block_Customer_Sidebar->_toHtml() #14 /Users/***/Sites/***.com/public_html/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml() #15 /Users/***/Sites/***.com/public_html/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Text_List->_toHtml() #16 /Users/***/Sites/***.com/public_html/app/code/core/Mage/Core/Block/Abstract.php(582): Mage_Core_Block_Abstract->toHtml() #17 /Users/***/Sites/***.com/public_html/app/code/core/Mage/Core/Block/Abstract.php(526): Mage_Core_Block_Abstract->_getChildHtml('right', true) #18 /Users/***/Sites/***.com/public_html/app/design/frontend/default/template/page/2columns-right.phtml(64): Mage_Core_Block_Abstract->getChildHtml('right') #19 /Users/***/Sites/***.com/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/Users/stephani...') #20 /Users/***/Sites/***.com/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/defaul...') #21 /Users/***/Sites/***.com/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView() #22 /Users/***/Sites/***.com/public_html/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->_toHtml() #23 /Users/***/Sites/***.com/public_html/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml() #24 /Users/***/Sites/***.com/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput() #25 /Users/***/Sites/***.com/public_html/app/code/core/Mage/Checkout/controllers/OnepageController.php(244): Mage_Core_Controller_Varien_Action->renderLayout() #26 /Users/***/Sites/***.com/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(419): Mage_Checkout_OnepageController->successAction() #27 /Users/***/Sites/***.com/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('success') #28 /Users/***/Sites/***.com/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) #29 /Users/***/Sites/***.com/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch() #30 /Users/***/Sites/***.com/public_html/app/Mage.php(683): Mage_Core_Model_App->run(Array) #31 /Users/***/Sites/***.com/public_html/index.php(89): Mage::run('', 'store') #32 {main}
Signature
Stephanie
Web Design & Development… FetchDesigns.com
Posted: August 12 2012
| top
| # 9
Nheru
Total Posts: 24
Joined: 2011-07-25
FetchDesigns, they ‘redesigned’ the way the wishlist functions I believe since 1.6. If you don’t have many/any customizations to your wishlist in your theme you should strongly consider just “falling back” on the base/default template and layout files for the wishlist. There are so many changes there, and several new files representing functionality which they have separated.
If you have some serious customizations made for the wishlist to fit your theme then you’re going to have to review each of the template files and the layouts to compare them and find what exactly it is you need to modify. Honestly it looks like such a hassle it’s likely easier to scrap what you have, start fresh with the base/default wishlist templates and layout, then add whatever customizations you find appropriate.
Good luck!
Posted: September 26 2012
| top
| # 11
Greg Demetrick
Total Posts: 64
Joined: 2009-03-31
Burlington, VT
If you are on EE, and possibly PE, you will also need to grab the following files to update in your custom theme if you have already updated with the Base files and are still getting the error:
/ app / design / frontend / enterprise / layout / giftregistry . xml / app / design / frontend / enterprise / template / giftregistry / wishlist / {the entire folder}
Posted: November 1 2012
| top
| # 12