Forum Forum Magento Theme SNS Sport – Magento Theme Notice: Undefined variable: filter in /home/playsporse/www/app/code/local/Sns/Products/Block/List.php on line 117

  • Author
    Posts
  • #17243

    dieg58
    Participant

      Hello,

      I’ve installed the theme, imported products and all was right,

      But now I’ve errors after errors and this one is the last one that I can’t resolve,

      The error is visible on play-sport.be

      Thank you,
      Diego

      Notice: Undefined variable: filter in /home/playsporse/www/app/code/local/Sns/Products/Block/List.php on line 117

      #0 /home/playsporse/www/app/code/local/Sns/Products/Block/List.php(117): mageCoreErrorHandler(8, ‘Undefined varia…’, ‘/home/playspors…’, 117, Array)
      #1 /home/playsporse/www/app/code/local/Sns/Products/Block/List.php(95): Sns_Products_Block_List->_getProductCollection()
      #2 /home/playsporse/www/app/code/core/Mage/Core/Block/Abstract.php(918): Sns_Products_Block_List->_beforeToHtml()
      #3 /home/playsporse/www/app/code/core/Mage/Core/Block/Abstract.php(637): Mage_Core_Block_Abstract->toHtml()
      #4 /home/playsporse/www/app/code/core/Mage/Core/Block/Abstract.php(577): Mage_Core_Block_Abstract->_getChildHtml(‘slider1’, true)
      #5 /home/playsporse/www/app/code/local/Sns/Sport/Block/Wrapper.php(81): Mage_Core_Block_Abstract->getChildHtml(”, true, true)
      #6 /home/playsporse/www/app/code/core/Mage/Core/Block/Abstract.php(919): Sns_Sport_Block_Wrapper->_toHtml()
      #7 /home/playsporse/www/app/code/core/Mage/Core/Block/Abstract.php(637): Mage_Core_Block_Abstract->toHtml()
      #8 /home/playsporse/www/app/code/core/Mage/Core/Block/Abstract.php(577): Mage_Core_Block_Abstract->_getChildHtml(‘wrap.slider1’, true)
      #9 /home/playsporse/www/app/code/local/Sns/Sport/Block/Wrapper.php(81): Mage_Core_Block_Abstract->getChildHtml(”, true, true)
      #10 /home/playsporse/www/app/code/core/Mage/Core/Block/Abstract.php(919): Sns_Sport_Block_Wrapper->_toHtml()
      #11 /home/playsporse/www/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
      #12 /home/playsporse/www/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Text_List->_toHtml()
      #13 /home/playsporse/www/app/code/core/Mage/Core/Block/Abstract.php(637): Mage_Core_Block_Abstract->toHtml()
      #14 /home/playsporse/www/app/code/core/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml(‘after_content’, true)
      #15 /home/playsporse/www/app/design/frontend/sns_sport/default/template/page/1column.phtml(113): Mage_Core_Block_Abstract->getChildHtml(‘after_content’)
      #16 /home/playsporse/www/app/code/core/Mage/Core/Block/Template.php(241): include(‘/home/playspors…’)
      #17 /home/playsporse/www/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView(‘frontend/sns_sp…’)
      #18 /home/playsporse/www/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
      #19 /home/playsporse/www/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Template->_toHtml()
      #20 /home/playsporse/www/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
      #21 /home/playsporse/www/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
      #22 /home/playsporse/www/app/code/core/Mage/Cms/Helper/Page.php(137): Mage_Core_Controller_Varien_Action->renderLayout()
      #23 /home/playsporse/www/app/code/core/Mage/Cms/Helper/Page.php(52): Mage_Cms_Helper_Page->_renderPage(Object(Mage_Cms_IndexController), ‘sport_home_page’)
      #24 /home/playsporse/www/app/code/core/Mage/Cms/controllers/IndexController.php(45): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), ‘sport_home_page’)
      #25 /home/playsporse/www/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Cms_IndexController->indexAction()
      #26 /home/playsporse/www/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch(‘index’)
      #27 /home/playsporse/www/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
      #28 /home/playsporse/www/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
      #29 /home/playsporse/www/app/Mage.php(684): Mage_Core_Model_App->run(Array)
      #30 /home/playsporse/www/index.php(92): Mage::run(”, ‘store’)
      #31 {main}

    You must be logged in to reply to this topic. Click here to login or register