Warning: count(): Parameter must be an array or an object that implements Countable  in /var/www/virtual/gardenowo.pl/htdocs/app/code/community/Smartmage/Paczkomaty/Helper/Data.php on line 488

#0 /var/www/virtual/gardenowo.pl/htdocs/app/code/community/Smartmage/Paczkomaty/Helper/Data.php(488): mageCoreErrorHandler(2, 'count(): Parame...', '/var/www/virtua...', 488, Array)
#1 /var/www/virtual/gardenowo.pl/htdocs/app/code/community/Smartmage/Paczkomaty/Model/Observer.php(122): Smartmage_Paczkomaty_Helper_Data->isCodAvailable()
#2 /var/www/virtual/gardenowo.pl/htdocs/app/code/core/Mage/Core/Model/App.php(1374): Smartmage_Paczkomaty_Model_Observer->setPaczkomatyCod(Object(Varien_Event_Observer))
#3 /var/www/virtual/gardenowo.pl/htdocs/app/code/core/Mage/Core/Model/App.php(1353): Mage_Core_Model_App->_callObserverMethod(Object(Smartmage_Paczkomaty_Model_Observer), 'setPaczkomatyCo...', Object(Varien_Event_Observer))
#4 /var/www/virtual/gardenowo.pl/htdocs/app/Mage.php(451): Mage_Core_Model_App->dispatchEvent('payment_method_...', Array)
#5 /var/www/virtual/gardenowo.pl/htdocs/app/code/core/Mage/Payment/Model/Method/Abstract.php(669): Mage::dispatchEvent('payment_method_...', Array)
#6 /var/www/virtual/gardenowo.pl/htdocs/app/code/core/Mage/Paypal/Model/Express.php(175): Mage_Payment_Model_Method_Abstract->isAvailable(NULL)
#7 /var/www/virtual/gardenowo.pl/htdocs/app/code/core/Mage/Paypal/Block/Express/Shortcut.php(117): Mage_Paypal_Model_Express->isAvailable(NULL)
#8 /var/www/virtual/gardenowo.pl/htdocs/app/code/local/Mage/Core/Block/Abstract.php(922): Mage_Paypal_Block_Express_Shortcut->_beforeToHtml()
#9 /var/www/virtual/gardenowo.pl/htdocs/app/code/local/Mage/Core/Block/Abstract.php(641): Mage_Core_Block_Abstract->toHtml()
#10 /var/www/virtual/gardenowo.pl/htdocs/app/code/local/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml('product.info.ad...', true)
#11 /var/www/virtual/gardenowo.pl/htdocs/app/code/core/Mage/Page/Block/Html/Wrapper.php(52): Mage_Core_Block_Abstract->getChildHtml('', true, true)
#12 /var/www/virtual/gardenowo.pl/htdocs/app/code/local/Mage/Core/Block/Abstract.php(923): Mage_Page_Block_Html_Wrapper->_toHtml()
#13 /var/www/virtual/gardenowo.pl/htdocs/app/code/local/Mage/Core/Block/Abstract.php(641): Mage_Core_Block_Abstract->toHtml()
#14 /var/www/virtual/gardenowo.pl/htdocs/app/code/local/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml('product.info.ad...', true)
#15 /var/www/virtual/gardenowo.pl/htdocs/app/design/frontend/smartwave/porto/template/ajaxcart/catalog/product/view/addtocart.phtml(17): Mage_Core_Block_Abstract->getChildHtml('', true, true)
#16 /var/www/virtual/gardenowo.pl/htdocs/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/virtua...')
#17 /var/www/virtual/gardenowo.pl/htdocs/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/smartw...')
#18 /var/www/virtual/gardenowo.pl/htdocs/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#19 /var/www/virtual/gardenowo.pl/htdocs/app/code/local/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Template->_toHtml()
#20 /var/www/virtual/gardenowo.pl/htdocs/app/code/local/Mage/Core/Block/Abstract.php(641): Mage_Core_Block_Abstract->toHtml()
#21 /var/www/virtual/gardenowo.pl/htdocs/app/code/local/Mage/Core/Block/Abstract.php(585): Mage_Core_Block_Abstract->_getChildHtml('addtocart', true)
#22 /var/www/virtual/gardenowo.pl/htdocs/app/design/frontend/smartwave/porto/template/catalog/product/view.phtml(329): Mage_Core_Block_Abstract->getChildHtml('addtocart')
#23 /var/www/virtual/gardenowo.pl/htdocs/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/virtua...')
#24 /var/www/virtual/gardenowo.pl/htdocs/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/smartw...')
#25 /var/www/virtual/gardenowo.pl/htdocs/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#26 /var/www/virtual/gardenowo.pl/htdocs/app/code/local/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Template->_toHtml()
#27 /var/www/virtual/gardenowo.pl/htdocs/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#28 /var/www/virtual/gardenowo.pl/htdocs/app/code/local/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Text_List->_toHtml()
#29 /var/www/virtual/gardenowo.pl/htdocs/app/code/local/Mage/Core/Block/Abstract.php(641): Mage_Core_Block_Abstract->toHtml()
#30 /var/www/virtual/gardenowo.pl/htdocs/app/code/local/Mage/Core/Block/Abstract.php(585): Mage_Core_Block_Abstract->_getChildHtml('content', true)
#31 /var/www/virtual/gardenowo.pl/htdocs/app/design/frontend/smartwave/porto/template/page/1column.phtml(49): Mage_Core_Block_Abstract->getChildHtml('content')
#32 /var/www/virtual/gardenowo.pl/htdocs/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/virtua...')
#33 /var/www/virtual/gardenowo.pl/htdocs/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/smartw...')
#34 /var/www/virtual/gardenowo.pl/htdocs/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#35 /var/www/virtual/gardenowo.pl/htdocs/app/code/local/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Template->_toHtml()
#36 /var/www/virtual/gardenowo.pl/htdocs/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#37 /var/www/virtual/gardenowo.pl/htdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#38 /var/www/virtual/gardenowo.pl/htdocs/app/code/core/Mage/Cms/Helper/Page.php(137): Mage_Core_Controller_Varien_Action->renderLayout()
#39 /var/www/virtual/gardenowo.pl/htdocs/app/code/core/Mage/Cms/Helper/Page.php(52): Mage_Cms_Helper_Page->_renderPage(Object(Amasty_SeoToolKit_NorouteController), 'no-route-2')
#40 /var/www/virtual/gardenowo.pl/htdocs/app/code/core/Mage/Cms/controllers/IndexController.php(75): Mage_Cms_Helper_Page->renderPage(Object(Amasty_SeoToolKit_NorouteController), 'no-route-2')
#41 /var/www/virtual/gardenowo.pl/htdocs/app/code/local/Amasty/SeoToolKit/controllers/NorouteController.php(27): Mage_Cms_IndexController->noRouteAction()
#42 /var/www/virtual/gardenowo.pl/htdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Amasty_SeoToolKit_NorouteController->indexAction()
#43 /var/www/virtual/gardenowo.pl/htdocs/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('index')
#44 /var/www/virtual/gardenowo.pl/htdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#45 /var/www/virtual/gardenowo.pl/htdocs/app/code/core/Mage/Core/Model/App.php(381): Mage_Core_Controller_Varien_Front->dispatch()
#46 /var/www/virtual/gardenowo.pl/htdocs/app/Mage.php(686): Mage_Core_Model_App->run(Array)
#47 /var/www/virtual/gardenowo.pl/htdocs/index.php(97): Mage::run('', 'store')
#48 {main}