Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Error when ADD TO CART
 
lbunks
Member
 
Total Posts:  32
Joined:  2008-02-25
 

hi community and developers,

when i try to add one or more producrts to cart i’ll get the following error message. can’t see my mistakes.

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

 
Magento Community Magento Community
Magento Community
Magento Community
 
lbunks
Member
 
Total Posts:  32
Joined:  2008-02-25
 

Found the solution here: http://www.magentocommerce.com/boards/viewthread/14323/

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top