Sharing is helping.

We offer you this space to share your knowledge about Magento and learn from our experienced customers.


    Safari 4.04 on a Mac running OS X 10.6.2

    When trying to navigate to any product page, I get the following exception thrown by:

    app/design/frontend/default/helloglam/template/catalog/product/list/toolbar.phtml

    Here is the entire error:

    a:5:{i:0;s:172:"Warning: Invalid argument supplied for foreach() in /home/apttest1/public_html/app/design/frontend/default/helloglam/template/catalog/product/list/toolbar.phtml on line 53";i:1;s:5017:"#0 /home/apttest1/public_html/app/design/frontend/default/helloglam/template/catalog/product/list/toolbar.phtml(53): mageCoreErrorHandler(2, 'Invalid argumen...', '/home/apttest1/...', 53, Array)
    #1 /home/apttest1/public_html/app/code/core/Mage/Core/Block/Template.php(189): include('/home/apttest1/...')
    #2 /home/apttest1/public_html/app/code/core/Mage/Core/Block/Template.php(225): Mage_Core_Block_Template->fetchView('frontend/defaul...')
    #3 /home/apttest1/public_html/app/code/core/Mage/Core/Block/Template.php(242): Mage_Core_Block_Template->renderView()
    #4 /home/apttest1/public_html/app/code/core/Mage/Core/Block/Abstract.php(674): Mage_Core_Block_Template->_toHtml()
    #5 /home/apttest1/public_html/app/code/core/Mage/Core/Block/Abstract.php(516): Mage_Core_Block_Abstract->toHtml()
    #6 /home/apttest1/public_html/app/code/core/Mage/Core/Block/Abstract.php(467): Mage_Core_Block_Abstract->_getChildHtml('toolbar', true)
    #7 /home/apttest1/public_html/app/code/core/Mage/Catalog/Block/Product/List.php(179): Mage_Core_Block_Abstract->getChildHtml('toolbar')
    #8 /home/apttest1/public_html/app/design/frontend/default/helloglam/template/catalog/product/list.phtml(43): Mage_Catalog_Block_Product_List->getToolbarHtml()
    #9 /home/apttest1/public_html/app/code/core/Mage/Core/Block/Template.php(189): include('/home/apttest1/...')
    #10 /home/apttest1/public_html/app/code/core/Mage/Core/Block/Template.php(225): Mage_Core_Block_Template->fetchView('frontend/defaul...')
    #11 /home/apttest1/public_html/app/code/core/Mage/Core/Block/Template.php(242): Mage_Core_Block_Template->renderView()
    #12 /home/apttest1/public_html/app/code/core/Mage/Core/Block/Abstract.php(674): Mage_Core_Block_Template->_toHtml()
    #13 /home/apttest1/public_html/app/code/core/Mage/Core/Block/Abstract.php(516): Mage_Core_Block_Abstract->toHtml()
    #14 /home/apttest1/public_html/app/code/core/Mage/Core/Block/Abstract.php(467): Mage_Core_Block_Abstract->_getChildHtml('product_list', true)
    #15 /home/apttest1/public_html/app/code/core/Mage/Catalog/Block/Category/View.php(85): Mage_Core_Block_Abstract->getChildHtml('product_list')
    #16 /home/apttest1/public_html/app/design/frontend/default/helloglam/template/catalog/category/view.phtml(75): Mage_Catalog_Block_Category_View->getProductListHtml()
    #17 /home/apttest1/public_html/app/code/core/Mage/Core/Block/Template.php(189): include('/home/apttest1/...')
    #18 /home/apttest1/public_html/app/code/core/Mage/Core/Block/Template.php(225): Mage_Core_Block_Template->fetchView('frontend/defaul...')
    #19 /home/apttest1/public_html/app/code/core/Mage/Core/Block/Template.php(242): Mage_Core_Block_Template->renderView()
    #20 /home/apttest1/public_html/app/code/core/Mage/Core/Block/Abstract.php(674): Mage_Core_Block_Template->_toHtml()
    #21 /home/apttest1/public_html/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
    #22 /home/apttest1/public_html/app/code/core/Mage/Core/Block/Abstract.php(674): Mage_Core_Block_Text_List->_toHtml()
    #23 /home/apttest1/public_html/app/code/core/Mage/Core/Block/Abstract.php(516): Mage_Core_Block_Abstract->toHtml()
    #24 /home/apttest1/public_html/app/code/core/Mage/Core/Block/Abstract.php(467): Mage_Core_Block_Abstract->_getChildHtml('content', true)
    #25 /home/apttest1/public_html/app/design/frontend/default/helloglam/template/page/2columns-left.phtml(67): Mage_Core_Block_Abstract->getChildHtml('content')
    #26 /home/apttest1/public_html/app/code/core/Mage/Core/Block/Template.php(189): include('/home/apttest1/...')
    #27 /home/apttest1/public_html/app/code/core/Mage/Core/Block/Template.php(225): Mage_Core_Block_Template->fetchView('frontend/defaul...')
    #28 /home/apttest1/public_html/app/code/core/Mage/Core/Block/Template.php(242): Mage_Core_Block_Template->renderView()
    #29 /home/apttest1/public_html/app/code/core/Mage/Core/Block/Abstract.php(674): Mage_Core_Block_Template->_toHtml()
    #30 /home/apttest1/public_html/app/code/core/Mage/Core/Model/Layout.php(536): Mage_Core_Block_Abstract->toHtml()
    #31 /home/apttest1/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(389): Mage_Core_Model_Layout->getOutput()
    #32 /home/apttest1/public_html/app/code/core/Mage/Catalog/controllers/CategoryController.php(115): Mage_Core_Controller_Varien_Action->renderLayout()
    #33 /home/apttest1/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Catalog_CategoryController->viewAction()
    #34 /home/apttest1/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('view')
    #35 /home/apttest1/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(177): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
    #36 /home/apttest1/public_html/app/code/core/Mage/Core/Model/App.php(304): Mage_Core_Controller_Varien_Front->dispatch()
    #37 /home/apttest1/public_html/app/Mage.php(596): Mage_Core_Model_App->run(Array)
    #38 /home/apttest1/public_html/index.php(78): Mage::run('', 'store')
    #39 {main}";s:3:"url";s:30:"/apparel/breeches-bottoms.html";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:7:"default";}

    Please advise