Warning: PDOStatement::execute(): MySQL server has gone away  in /var/www/html/lib/Zend/Db/Statement/Pdo.php on line 228

#0 [internal function]: mageCoreErrorHandler(2, 'PDOStatement::e...', '/var/www/html/l...', 228, Array)
#1 /var/www/html/lib/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array)
#2 /var/www/html/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#3 /var/www/html/app/code/core/Zend/Db/Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#4 /var/www/html/lib/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#5 /var/www/html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT DISTINCT...', Array)
#6 /var/www/html/lib/Varien/Db/Adapter/Pdo/Mysql.php(504): Zend_Db_Adapter_Pdo_Abstract->query('SELECT DISTINCT...', Array)
#7 /var/www/html/lib/Zend/Db/Adapter/Abstract.php(811): Varien_Db_Adapter_Pdo_Mysql->query('SELECT DISTINCT...', Array)
#8 /var/www/html/app/code/local/Amasty/Shopby/Model/Catalog/Layer/Filter/Attribute.php(47): Zend_Db_Adapter_Abstract->fetchPairs(Object(Varien_Db_Select))
#9 /var/www/html/app/code/local/Amasty/Shopby/Model/Catalog/Layer/Filter/Attribute.php(242): Amasty_Shopby_Model_Catalog_Layer_Filter_Attribute->_getCount(Object(Mage_Eav_Model_Entity_Attribute))
#10 /var/www/html/app/code/local/Amasty/Shopby/Model/Catalog/Layer/Filter/Attribute.php(291): Amasty_Shopby_Model_Catalog_Layer_Filter_Attribute->_getItemsData()
#11 /var/www/html/app/code/core/Mage/Catalog/Model/Layer/Filter/Abstract.php(120): Amasty_Shopby_Model_Catalog_Layer_Filter_Attribute->_initItems()
#12 /var/www/html/app/code/core/Mage/Catalog/Model/Layer/Filter/Abstract.php(109): Mage_Catalog_Model_Layer_Filter_Abstract->getItems()
#13 /var/www/html/app/code/core/Mage/Catalog/Block/Layer/Filter/Abstract.php(132): Mage_Catalog_Model_Layer_Filter_Abstract->getItemsCount()
#14 /var/www/html/app/code/local/Amasty/Shopby/Block/Catalog/Layer/Filter/Attribute.php(162): Mage_Catalog_Block_Layer_Filter_Abstract->getItemsCount()
#15 /var/www/html/app/code/local/Amasty/Shopby/Block/Catalog/Layer/View.php(162): Amasty_Shopby_Block_Catalog_Layer_Filter_Attribute->getItemsCount()
#16 /var/www/html/app/code/local/Amasty/Shopby/Block/Catalog/Layer/View.php(54): Amasty_Shopby_Block_Catalog_Layer_View->computeAttributeOptionsData(Array)
#17 /var/www/html/app/code/local/Amasty/Shopby/Block/Catalog/Layer/View.php(481): Amasty_Shopby_Block_Catalog_Layer_View->getFilters()
#18 /var/www/html/app/code/core/Mage/Core/Block/Abstract.php(297): Amasty_Shopby_Block_Catalog_Layer_View->_prepareLayout()
#19 /var/www/html/app/code/local/Mage/Core/Model/Layout.php(456): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#20 /var/www/html/app/code/local/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock('amshopby/catalo...', 'amshopby.navlef...')
#21 /var/www/html/app/code/local/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout->addBlock('amshopby/catalo...', 'amshopby.navlef...')
#22 /var/www/html/app/code/local/Mage/Core/Model/Layout.php(205): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#23 /var/www/html/app/code/local/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#24 /var/www/html/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks()
#25 /var/www/html/app/code/core/Mage/Catalog/controllers/CategoryController.php(148): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#26 /var/www/html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Catalog_CategoryController->viewAction()
#27 /var/www/html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('view')
#28 /var/www/html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#29 /var/www/html/app/code/core/Mage/Core/Model/App.php(381): Mage_Core_Controller_Varien_Front->dispatch()
#30 /var/www/html/app/Mage.php(686): Mage_Core_Model_App->run(Array)
#31 /var/www/html/index.php(84): Mage::run('', 'store')
#32 {main}