Call-back icon  Sales: Call 877.832.5289 (N America)|310.295.4144 (International)

Magento

eCommerce Software for Online Growth

Magento Forum

   
After Upgrade to 1.1 Error messages
 
Dustin
Sr. Member
 
Total Posts:  117
Joined:  2008-03-13
Columbus, OH
 
tronics - 13 July 2008 05:37 AM

Ok, I still have this error when trying to put a product into the cart :(
Is this the code that needs to be adapted in cart.phtml? Can you post or attach the complete code of a working cart.phtml?
Thanks.

Recoverable ErrorArgument 1 passed to Mage_Catalog_Helper_Image::init() must be an instance of Mage_Catalog_Model_Productnull givencalled in /www/shop/app/design/frontend/default/default/template/checkout/cart.phtml on line 76 and defined  in /www/shop/app/code/core/Mage/Catalog/Helper/Image.php on line 58
Trace
:
#0 /www/shop/app/code/core/Mage/Catalog/Helper/Image.php(58): mageCoreErrorHandler(4096, 'Argument 1 pass...', '/www/shop...', 58, Array)
#1 /www/shop/app/design/frontend/default/default/template/checkout/cart.phtml(76): Mage_Catalog_Helper_Image->init(NULL, 'thumbnail')
#2 /www/shop/app/code/core/Mage/Core/Block/Template.php(138): include('/www/shop...')
#3 /www/shop/app/code/core/Mage/Core/Block/Template.php(170): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#4 /www/shop/app/code/core/Mage/Core/Block/Template.php(187): Mage_Core_Block_Template->renderView()
#5 /www/shop/app/code/core/Mage/Core/Block/Abstract.php(580): Mage_Core_Block_Template->_toHtml()
#6 /www/shop/app/code/core/Mage/Core/Block/Text/List.php(37): Mage_Core_Block_Abstract->toHtml()
#7 /www/shop/app/code/core/Mage/Core/Block/Abstract.php(580): Mage_Core_Block_Text_List->_toHtml()
#8 /www/shop/app/code/core/Mage/Core/Block/Abstract.php(445): Mage_Core_Block_Abstract->toHtml()
#9 /www/shop/app/code/core/Mage/Core/Block/Abstract.php(408): Mage_Core_Block_Abstract->_getChildHtml('content', true)
#10 /www/shop/app/design/frontend/default/default/template/page/1column.phtml(47): Mage_Core_Block_Abstract->getChildHtml('content')
#11 /www/shop/app/code/core/Mage/Core/Block/Template.php(138): include('/www/shop...')
#12 /www/shop/app/code/core/Mage/Core/Block/Template.php(170): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#13 /www/shop/app/code/core/Mage/Core/Block/Template.php(187): Mage_Core_Block_Template->renderView()
#14 /www/shop/app/code/core/Mage/Core/Block/Abstract.php(580): Mage_Core_Block_Template->_toHtml()
#15 /www/shop/app/code/core/Mage/Core/Model/Layout.php(508): Mage_Core_Block_Abstract->toHtml()
#16 /www/shop/app/code/core/Mage/Core/Controller/Varien/Action.php(320): Mage_Core_Model_Layout->getOutput()
#17 /www/shop/app/code/core/Mage/Checkout/controllers/CartController.php(125): Mage_Core_Controller_Varien_Action->renderLayout()
#18 /www/shop/app/code/core/Mage/Core/Controller/Varien/Action.php(343): Mage_Checkout_CartController->indexAction()
#19 /www/shop/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(144): Mage_Core_Controller_Varien_Action->dispatch('index')
#20 /www/shop/app/code/core/Mage/Core/Controller/Varien/Front.php(168): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#21 /www/shop/app/Mage.php(420): Mage_Core_Controller_Varien_Front->dispatch()
#22 /www/shop/index.php(40): Mage::run()
#23 {main}


*nevermind fixed it*

I get this exact same thing on my checkout as well. Did you ever find the fix?

 
Magento Community Magento Community
Magento Community
Magento Community
 
winterradio
Member
 
Total Posts:  36
Joined:  2008-02-01
 

I haven’t had anymore problems since making all of the noted changes.  Have you made any other changes to the original modern theme before the 1.1 release?  I notice you are having a problem with Image.php which I haven’t previously been aware of.

It would be nice if the team updated its own theme releases to work with Magento 1.1

 
Magento Community Magento Community
Magento Community
Magento Community
 
redpen
Sr. Member
 
Total Posts:  221
Joined:  2008-01-23
 

Yeah…

I can’t get the Terms and Conditions bit to show up now, is this related to your tweaked JS?

$this->getChildHtml(’agreements’) doesn’t really appear to do anything.  The checkout process knows that I’ve not ticked the box, but there’s no box to tick… :/

 
Magento Community Magento Community
Magento Community
Magento Community
 
AngelEyes
Member
 
Total Posts:  35
Joined:  2008-02-25
 

Hi Chaps,

I get this error on the cart page (using any template) since 1.1.1 upgrade. It appears just below ‘State/Province’ in the ‘Estimate Shipping & Tax’ box.

Any suggestions?  Thanks.

Adam

NoticeIndirect modification of overloaded property Mage_Checkout_Block_Cart_Shipping::$_rates has no effect  in /home/hideoutleathers/htdocs/app/code/core/Mage/Checkout/Block/Cart/Shipping.php on line 116

#0 /home/hideoutleathers/htdocs/app/code/core/Mage/Checkout/Block/Cart/Shipping.php(116): mageCoreErrorHandler(8, 'Indirect modifi...', '/home/hideoutle...', 116, Array)
#1 /home/hideoutleathers/htdocs/app/code/core/Mage/Checkout/Block/Cart/Shipping.php(134): Mage_Checkout_Block_Cart_Shipping->getCarriers()
#2 /home/hideoutleathers/htdocs/app/design/frontend/default/default/template/checkout/cart/shipping.phtml(32): Mage_Checkout_Block_Cart_Shipping->isStateProvinceRequired()
#3 /home/hideoutleathers/htdocs/app/code/core/Mage/Core/Block/Template.php(138): include('/home/hideoutle...')
#4 /home/hideoutleathers/htdocs/app/code/core/Mage/Core/Block/Template.php(170): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#5 /home/hideoutleathers/htdocs/app/code/core/Mage/Core/Block/Template.php(187): Mage_Core_Block_Template->renderView()
#6 /home/hideoutleathers/htdocs/app/code/core/Mage/Core/Block/Abstract.php(636): Mage_Core_Block_Template->_toHtml()
#7 /home/hideoutleathers/htdocs/app/code/core/Mage/Core/Block/Abstract.php(495): Mage_Core_Block_Abstract->toHtml()
#8 /home/hideoutleathers/htdocs/app/code/core/Mage/Core/Block/Abstract.php(446): Mage_Core_Block_Abstract->_getChildHtml('shipping', true)
#9 /home/hideoutleathers/htdocs/app/design/frontend/default/default/template/checkout/cart.phtml(106): Mage_Core_Block_Abstract->getChildHtml('shipping')
#10 /home/hideoutleathers/htdocs/app/code/core/Mage/Core/Block/Template.php(138): include('/home/hideoutle...')
#11 /home/hideoutleathers/htdocs/app/code/core/Mage/Core/Block/Template.php(170): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#12 /home/hideoutleathers/htdocs/app/code/core/Mage/Core/Block/Template.php(187): Mage_Core_Block_Template->renderView()
#13 /home/hideoutleathers/htdocs/app/code/core/Mage/Core/Block/Abstract.php(636): Mage_Core_Block_Template->_toHtml()
#14 /home/hideoutleathers/htdocs/app/code/core/Mage/Core/Block/Text/List.php(37): Mage_Core_Block_Abstract->toHtml()
#15 /home/hideoutleathers/htdocs/app/code/core/Mage/Core/Block/Abstract.php(636): Mage_Core_Block_Text_List->_toHtml()
#16 /home/hideoutleathers/htdocs/app/code/core/Mage/Core/Block/Abstract.php(495): Mage_Core_Block_Abstract->toHtml()
#17 /home/hideoutleathers/htdocs/app/code/core/Mage/Core/Block/Abstract.php(446): Mage_Core_Block_Abstract->_getChildHtml('content', true)
#18 /home/hideoutleathers/htdocs/app/design/frontend/default/default/template/page/1column.phtml(47): Mage_Core_Block_Abstract->getChildHtml('content')
#19 /home/hideoutleathers/htdocs/app/code/core/Mage/Core/Block/Template.php(138): include('/home/hideoutle...')
#20 /home/hideoutleathers/htdocs/app/code/core/Mage/Core/Block/Template.php(170): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#21 /home/hideoutleathers/htdocs/app/code/core/Mage/Core/Block/Template.php(187): Mage_Core_Block_Template->renderView()
#22 /home/hideoutleathers/htdocs/app/code/core/Mage/Core/Block/Abstract.php(636): Mage_Core_Block_Template->_toHtml()
#23 /home/hideoutleathers/htdocs/app/code/core/Mage/Core/Model/Layout.php(509): Mage_Core_Block_Abstract->toHtml()
#24 /home/hideoutleathers/htdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(320): Mage_Core_Model_Layout->getOutput()
#25 /home/hideoutleathers/htdocs/app/code/core/Mage/Checkout/controllers/CartController.php(122): Mage_Core_Controller_Varien_Action->renderLayout()
#26 /home/hideoutleathers/htdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(343): Mage_Checkout_CartController->indexAction()
#27 /home/hideoutleathers/htdocs/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(144): Mage_Core_Controller_Varien_Action->dispatch('index')
#28 /home/hideoutleathers/htdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(168): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#29 /home/hideoutleathers/htdocs/app/Mage.php(420): Mage_Core_Controller_Varien_Front->dispatch()
#30 /home/hideoutleathers/htdocs/index.php(46): Mage::run()
#31 {main}

 
Magento Community Magento Community
Magento Community
Magento Community
 
Thejosh13
Sr. Member
 
Total Posts:  166
Joined:  2008-06-23
 

That Js file did not work for me

 
Magento Community Magento Community
Magento Community
Magento Community
 
Jimmy G
Jr. Member
 
Avatar
Total Posts:  20
Joined:  2008-06-18
 

I too did the upgrade and found tons of errors.  I gave up.  I figured why would i have to beat my brain trying to fix these.  Upgrade should be effortless and smooth.  Software should not be this difficult. 

Also noticed noone from Varien on this thread either.

 
Magento Community Magento Community
Magento Community
Magento Community
 
ardelio
Jr. Member
 
Total Posts:  2
Joined:  2008-05-08
 

DEFAULT theme, same error
Fatal error: Class ‘Mage_Review_Helper_Product’ not found in /home/teeshirt/public_html/app/code/core/Mage/Core/Model/App.php on line 779

not very happy to see that the first bigger automatic update brings such a big error
please provide the instructions on how to fix this (no MODERN theme, DEFAULT theme)

 
Magento Community Magento Community
Magento Community
Magento Community
 
Thejosh13
Sr. Member
 
Total Posts:  166
Joined:  2008-06-23
 

They should focus on being more simple, well tested, and work effortlessly

 
Magento Community Magento Community
Magento Community
Magento Community
 
jklina
Member
 
Avatar
Total Posts:  40
Joined:  2008-06-12
Philadelphia PA
 

Dustin, Tronics,

I’ve had the same problem and for me the automatic update from Magento Connect did not update \app\design\frontend\default\default\template\checkout\Cart.phtml and the folder of \app\design\frontend\default\default\template\checkout\cart.

To fix this I downloaded the complete 1.1.1 package, extracted it, and replaced the files w/ the ones from the downloaded package. This did the trick for me.

Good Luck!

 
Magento Community Magento Community
Magento Community
Magento Community
 
arun_cbe
Jr. Member
 
Total Posts:  6
Joined:  2008-03-23
India
 

I added opcheckout.js, page not found error solved, but checkout progress on Billing Address,Shipping Address,Shipping Method and Payment Information not displayed…

please help me…

 
Magento Community Magento Community
Magento Community
Magento Community
 
davinder
Member
 
Total Posts:  52
Joined:  2008-06-26
 

Hi Arun, I got the exactly same issue as yours. Billing Address,Shipping Address,Shipping Method and Payment Information is all blank. It worked fine in the previous versions. Did you resolve this issue? Please keep me posted.

 
Magento Community Magento Community
Magento Community
Magento Community
 
davinder
Member
 
Total Posts:  52
Joined:  2008-06-26
 

Now I decided to disable one page checkout so that I dont have to deal with this but when I disabled one page checkout, “Proceed to Checkout” button disappeared. I think I made mistake after upgrading to newer version. I didnt come across this many bugs with older version:(

 
Magento Community Magento Community
Magento Community
Magento Community
 
mrjohnnycake
Jr. Member
 
Avatar
Total Posts:  25
Joined:  2007-10-28
Arcata, CA. USA
 

First off, I should not that I am using the Telescope theme which I just saw is still in beta.  Ah well.

So far I have only done the search fix found in this post as I am still in the design stage.  It worked great.  Thank you all so so much.

I’m saving this link as I’m sure I’ll need it again soon.

A question I have is since I’ve already been designing for the Telescope theme and that one is just beta, can I just install the Modern theme and replace the images and css with my own and then just move stuff around as I need to in the /app/ files?

Dave.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Daynos
Jr. Member
 
Total Posts:  24
Joined:  2008-02-13
 

Hi,

I have updated my Magento to 1.1.4 today (was still testing on an outdated version). I now have this error on both Default Theme and Modern Theme.
Is there a way to solve the problem without reinstalling the all thing or using Magento Connect ? A package to reinstall ? I suppose this file is part of a package supposed to be up to date, but “corrupted”, isn’t it ?

If not I will edit the files, but I don’t like to edit “core” files rasberry… I’m more a web designer than a web developper, even if I know PHP…

Thank you wink

 
Magento Community Magento Community
Magento Community
Magento Community
 
Flopy69
Jr. Member
 
Total Posts:  28
Joined:  2008-06-04
 
jklina - 31 July 2008 09:09 AM

Dustin, Tronics,

I’ve had the same problem and for me the automatic update from Magento Connect did not update \app\design\frontend\default\default\template\checkout\Cart.phtml and the folder of \app\design\frontend\default\default\template\checkout\cart.

To fix this I downloaded the complete 1.1.1 package, extracted it, and replaced the files w/ the ones from the downloaded package. This did the trick for me.

Good Luck!

thanx you, i’va had the same problem, and now, it’s works !

thanx tou.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
50103 users|433 users currently online|102241 forum posts