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

Bundled product results in “invalid method” error for template
 
roger522
Jr. Member
 
Total Posts:  7
Joined:  2010-05-10
 

When I open a (bundled) product page, I get an error. See the error report:

a:5:{i:0;s:110:"Invalid method Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option_Select::_getDefaultValues(Array
(
)
)"
;i:1;s:7072:"#0 /var/websites/www.testsite.com/htdocs/app/design/frontend/base/default/template/bundle/catalog/product/view/type/bundle/option/select.phtml(33): Varien_Object->__call('_getDefaultValu...', Array)
#1 /var/websites/www.testsite.com/htdocs/app/design/frontend/base/default/template/bundle/catalog/product/view/type/bundle/option/select.phtml(33): Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option_Select->_getDefaultValues()
#2 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Block/Template.php(241): include('/var/websites/ww...')
#3 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/base/d...')
#4 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#5 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Catalog/Block/Product/Price.php(154): Mage_Core_Block_Template->_toHtml()
#6 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Bundle/Block/Catalog/Product/Price.php(97): Mage_Catalog_Block_Product_Price->_toHtml()
#7 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Bundle_Block_Catalog_Product_Price->_toHtml()
#8 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Bundle/Block/Catalog/Product/View/Type/Bundle.php(216): Mage_Core_Block_Abstract->toHtml()
#9 /var/websites/www.testsite.com/htdocs/app/design/frontend/base/default/template/bundle/catalog/product/view/type/bundle/options.phtml(37): Mage_Bundle_Block_Catalog_Product_View_Type_Bundle->getOptionHtml(Object(Mage_Bundle_Model_Option))
#10 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Block/Template.php(241): include('/var/websites/ww...')
#11 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/base/d...')
#12 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#13 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->_toHtml()
#14 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Block/Abstract.php(582): Mage_Core_Block_Abstract->toHtml()
#15 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Block/Abstract.php(522): Mage_Core_Block_Abstract->_getChildHtml('product.info.bu...', true)
#16 /var/websites/www.testsite.com/htdocs/app/design/frontend/base/default/template/catalog/product/view/options/wrapper.phtml(28): Mage_Core_Block_Abstract->getChildHtml('', true, true)
#17 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Block/Template.php(241): include('/var/websites/ww...')
#18 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/base/d...')
#19 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#20 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->_toHtml()
#21 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Block/Abstract.php(582): Mage_Core_Block_Abstract->toHtml()
#22 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Block/Abstract.php(522): Mage_Core_Block_Abstract->_getChildHtml('product.info.op...', true)
#23 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Block/Abstract.php(546): Mage_Core_Block_Abstract->getChildHtml('', true, true)
#24 /var/websites/www.testsite.com/htdocs/app/design/frontend/default/testsite_nl_swigle/template/catalog/product/view.phtml(101): Mage_Core_Block_Abstract->getChildChildHtml('container2', '', true, true)
#25 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Block/Template.php(241): include('/var/websites/ww...')
#26 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#27 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#28 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->_toHtml()
#29 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#30 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Text_List->_toHtml()
#31 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Block/Abstract.php(582): Mage_Core_Block_Abstract->toHtml()
#32 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Block/Abstract.php(526): Mage_Core_Block_Abstract->_getChildHtml('content', true)
#33 /var/websites/www.testsite.com/htdocs/app/design/frontend/base/default/template/page/2columns-right.phtml(48): Mage_Core_Block_Abstract->getChildHtml('content')
#34 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Block/Template.php(241): include('/var/websites/ww...')
#35 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/base/d...')
#36 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#37 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->_toHtml()
#38 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#39 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#40 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Cms/Helper/Page.php(137): Mage_Core_Controller_Varien_Action->renderLayout()
#41 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Cms/Helper/Page.php(52): Mage_Cms_Helper_Page->_renderPage(Object(Mage_Cms_IndexController), 'no-route')
#42 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Cms/controllers/IndexController.php(75): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), 'no-route')
#43 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(419): Mage_Cms_IndexController->noRouteAction()
#44 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('noRoute')
#45 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#46 /var/websites/www.testsite.com/htdocs/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#47 /var/websites/www.testsite.com/htdocs/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#48 /var/websites/www.testsite.com/htdocs/index.php(119): Mage::run('', 'store')
#49 {main}"
;s:3:"url";s:17:"/sp504.html";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:7:"default";}

What can I do, where do I look, to get this working? Any input is welcome!

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