Warning: count(): Parameter must be an array or an object that implements Countable  in /var/www/vhosts/ennisflint.com/htdocs/httpdocs/app/code/local/MageWorx/Downloads/Block/Product.php on line 74

#0 /var/www/vhosts/ennisflint.com/htdocs/httpdocs/app/code/local/MageWorx/Downloads/Block/Product.php(74): mageCoreErrorHandler()
#1 /var/www/vhosts/ennisflint.com/htdocs/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(297): MageWorx_Downloads_Block_Product->_prepareLayout()
#2 /var/www/vhosts/ennisflint.com/htdocs/httpdocs/app/code/core/Mage/Core/Model/Layout.php(456): Mage_Core_Block_Abstract->setLayout()
#3 /var/www/vhosts/ennisflint.com/htdocs/httpdocs/app/code/core/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock()
#4 /var/www/vhosts/ennisflint.com/htdocs/httpdocs/app/code/core/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout->addBlock()
#5 /var/www/vhosts/ennisflint.com/htdocs/httpdocs/app/code/core/Mage/Core/Model/Layout.php(205): Mage_Core_Model_Layout->_generateBlock()
#6 /var/www/vhosts/ennisflint.com/htdocs/httpdocs/app/code/core/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks()
#7 /var/www/vhosts/ennisflint.com/htdocs/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks()
#8 /var/www/vhosts/ennisflint.com/htdocs/httpdocs/app/code/core/Mage/Cms/Helper/Page.php(113): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#9 /var/www/vhosts/ennisflint.com/htdocs/httpdocs/app/code/core/Mage/Cms/Helper/Page.php(52): Mage_Cms_Helper_Page->_renderPage()
#10 /var/www/vhosts/ennisflint.com/htdocs/httpdocs/app/code/core/Mage/Cms/controllers/IndexController.php(75): Mage_Cms_Helper_Page->renderPage()
#11 /var/www/vhosts/ennisflint.com/htdocs/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Cms_IndexController->noRouteAction()
#12 /var/www/vhosts/ennisflint.com/htdocs/httpdocs/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch()
#13 /var/www/vhosts/ennisflint.com/htdocs/httpdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match()
#14 /var/www/vhosts/ennisflint.com/htdocs/httpdocs/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#15 /var/www/vhosts/ennisflint.com/htdocs/httpdocs/app/Mage.php(686): Mage_Core_Model_App->run()
#16 /var/www/vhosts/ennisflint.com/htdocs/httpdocs/index.php(83): Mage::run()
#17 {main}