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

Magento

eCommerce Software for Online Growth

Magento Forum

   
Page 1 of 3
Notice: Indirect modification of overloaded property Mage_Checkout_Block_Cart_Shipping
 
quark
Member
 
Total Posts:  31
Joined:  2007-12-15
Romania
 

Fresh install of Version 1.1.1 with or without magento-sample-data-1.0.9870. Default installation with Romanian or EN_US locale.
I get the following error message after adding a product to cart:

Notice: Indirect modification of overloaded property Mage_Checkout_Block_Cart_Shipping::$_rates has no effect in /srv/www/vhosts/hvac.ro/httpdocs/magento/app/code/core/Mage/Checkout/Block/Cart/Shipping.php on line 116

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

Image Attachments
Notice.jpg
 
Magento Community Magento Community
Magento Community
Magento Community
 
zattara
Jr. Member
 
Total Posts:  2
Joined:  2008-07-26
 

Same problem… I currently reinstall the 1.0.19870 version. Maybe the 1.0.19870 data doesn’t suit to the 1.1 shop ?
Answer in few minutes…

 
Magento Community Magento Community
Magento Community
Magento Community
 
zattara
Jr. Member
 
Total Posts:  2
Joined:  2008-07-26
 

Same problem with magento-sample-data-1.0.19870 and magento-1.0.19870.4 ...
Do anyone knows how to make it run ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
ddandre
Jr. Member
 
Total Posts:  27
Joined:  2008-05-06
Dresden
 

same problem… any solution for this problem?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Lenny2
Sr. Member
 
Avatar
Total Posts:  168
Joined:  2008-05-21
München
 

same problem....any ideas?

 Signature 

Gruß aus Erding bei München

Frank

 
Magento Community Magento Community
Magento Community
Magento Community
 
Def
Jr. Member
 
Total Posts:  5
Joined:  2008-03-23
 

same problem …

 
Magento Community Magento Community
Magento Community
Magento Community
 
Def
Jr. Member
 
Total Posts:  5
Joined:  2008-03-23
 

I’m using 5.2.0-8+etch11

Google find the meaning of “Indirect modification of overloaded property”
http://derickrethans.nl/overloaded_properties_get.php

In file app/code/core/Mage/Checkout/Block/Cart/Shipping.php
in function getCarriers() line 111

replace

foreach ($this->_rates as $rateGroup{
      
....
 
}
by
$rates $this->_rates;

foreach (
$rates as $rateGroup{
                   
....
}

sorry for my bad english

 
Magento Community Magento Community
Magento Community
Magento Community
 
ddandre
Jr. Member
 
Total Posts:  27
Joined:  2008-05-06
Dresden
 
Def - 27 July 2008 10:24 AM

I’m using 5.2.0-8+etch11

Google find the meaning of “Indirect modification of overloaded property”
http://derickrethans.nl/overloaded_properties_get.php

In file app/code/core/Mage/Checkout/Block/Cart/Shipping.php
in function getCarriers() line 111

replace

foreach ($this->_rates as $rateGroup{
      
....
 
}
by
$rates $this->_rates;

foreach (
$rates as $rateGroup{
                   
....
}

sorry for my bad english

perfectly… works fine...thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
aypepito
Jr. Member
 
Total Posts:  13
Joined:  2008-07-14
 

Hello !

I had the same problem. It works now ! thanks !

 
Magento Community Magento Community
Magento Community
Magento Community
 
nicolas46
Sr. Member
 
Total Posts:  210
Joined:  2008-04-09
Toulouse
 

Same here,Thanks for the tip; I hope it would be fixed soon by Varien

 
Magento Community Magento Community
Magento Community
Magento Community
 
Greatmedia
Sr. Member
 
Total Posts:  109
Joined:  2008-05-15
The Netherlands
 

My fix was not correct, the one in this topic is.

 
Magento Community Magento Community
Magento Community
Magento Community
 
cooee
Member
 
Avatar
Total Posts:  73
Joined:  2007-08-31
Aachen, Germany
 

Hi there, I got the same error message with a fresh 1.1.2 install, the fix given here works well though.

Greetings,
cooee

 Signature 

cooee eCommerce Blog

 
Magento Community Magento Community
Magento Community
Magento Community
 
LPrus
Jr. Member
 
Avatar
Total Posts:  4
Joined:  2008-03-03
London
 

Yep. That fixed the problem.
Tons of thanks.

 
Magento Community Magento Community
Magento Community
Magento Community
 
B00MER
Member
 
Avatar
Total Posts:  33
Joined:  2007-12-27
Ft. Worth Texas
 

This fixed my issue as well, thanks for sharing!

 Signature 

Core Action Sports

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

I wish I found this before I tried deleting the database and a fresh install (which didn’t work). :(

Thanks very much smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
Michael
Magento Team
 
Total Posts:  681
Joined:  2007-08-31
 

This issue was fixed. The changes will be available in 1.1.4

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
Page 1 of 3
 
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
50109 users|499 users currently online|102248 forum posts