Warning: Invalid argument supplied for foreach()  in /home/weinmom/wein-depot.de/www/app/code/local/Codesprint/Topproducts/Model/Topproduct.php on line 124

#0 /home/weinmom/wein-depot.de/www/app/code/local/Codesprint/Topproducts/Model/Topproduct.php(124): mageCoreErrorHandler(2, 'Invalid argumen...', '/home/weinmom/w...', 124, Array)
#1 /home/weinmom/wein-depot.de/www/app/code/local/Codesprint/Topproducts/Block/Topproduct.php(27): Codesprint_Topproducts_Model_Topproduct->refillEmptyProducts(NULL, '282')
#2 /home/weinmom/wein-depot.de/www/app/design/frontend/default/wein-depot/template/topproducts/topproduct.phtml(2): Codesprint_Topproducts_Block_Topproduct->getProducts()
#3 /home/weinmom/wein-depot.de/www/app/code/core/Mage/Core/Block/Template.php(241): include('/home/weinmom/w...')
#4 /home/weinmom/wein-depot.de/www/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#5 /home/weinmom/wein-depot.de/www/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#6 /home/weinmom/wein-depot.de/www/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Template->_toHtml()
#7 /home/weinmom/wein-depot.de/www/app/code/core/Mage/Core/Block/Abstract.php(641): Mage_Core_Block_Abstract->toHtml()
#8 /home/weinmom/wein-depot.de/www/app/code/core/Mage/Core/Block/Abstract.php(585): Mage_Core_Block_Abstract->_getChildHtml('top_products', true)
#9 /home/weinmom/wein-depot.de/www/app/design/frontend/default/wein-depot/template/catalog/category/view.phtml(99): Mage_Core_Block_Abstract->getChildHtml('top_products')
#10 /home/weinmom/wein-depot.de/www/app/code/core/Mage/Core/Block/Template.php(241): include('/home/weinmom/w...')
#11 /home/weinmom/wein-depot.de/www/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#12 /home/weinmom/wein-depot.de/www/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#13 /home/weinmom/wein-depot.de/www/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Template->_toHtml()
#14 /home/weinmom/wein-depot.de/www/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#15 /home/weinmom/wein-depot.de/www/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Text_List->_toHtml()
#16 /home/weinmom/wein-depot.de/www/app/code/core/Mage/Core/Block/Abstract.php(641): Mage_Core_Block_Abstract->toHtml()
#17 /home/weinmom/wein-depot.de/www/app/code/core/Mage/Core/Block/Abstract.php(585): Mage_Core_Block_Abstract->_getChildHtml('content', true)
#18 /home/weinmom/wein-depot.de/www/app/design/frontend/default/wein-depot/template/page/2columns-left.phtml(48): Mage_Core_Block_Abstract->getChildHtml('content')
#19 /home/weinmom/wein-depot.de/www/app/code/core/Mage/Core/Block/Template.php(241): include('/home/weinmom/w...')
#20 /home/weinmom/wein-depot.de/www/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#21 /home/weinmom/wein-depot.de/www/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#22 /home/weinmom/wein-depot.de/www/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Template->_toHtml()
#23 /home/weinmom/wein-depot.de/www/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#24 /home/weinmom/wein-depot.de/www/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#25 /home/weinmom/wein-depot.de/www/app/code/core/Mage/Catalog/controllers/CategoryController.php(161): Mage_Core_Controller_Varien_Action->renderLayout()
#26 /home/weinmom/wein-depot.de/www/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Catalog_CategoryController->viewAction()
#27 /home/weinmom/wein-depot.de/www/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('view')
#28 /home/weinmom/wein-depot.de/www/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#29 /home/weinmom/wein-depot.de/www/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#30 /home/weinmom/wein-depot.de/www/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#31 /home/weinmom/wein-depot.de/www/index.php(103): Mage::run('default', 'store')
#32 {main}