There has been an error processing your request

SQLSTATE[HY000]: General error: 2006 MySQL server has gone away, query was: SELECT DISTINCT `e`.`attribute_set_id` FROM `catalog_product_entity` AS `e`
 INNER JOIN `catalog_category_product_index` AS `cat_index` ON cat_index.product_id=e.entity_id AND cat_index.store_id=1 AND cat_index.visibility IN(2, 4) AND cat_index.category_id = '21'
 INNER JOIN `catalog_product_index_price` AS `price_index` ON price_index.entity_id = e.entity_id AND price_index.website_id = '1' AND price_index.customer_group_id = 0
Trace: #0 /home/nuevo0718/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array) #1 /home/nuevo0718/public_html/app/code/core/Zend/Db/Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute(Array) #2 /home/nuevo0718/public_html/lib/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array) #3 /home/nuevo0718/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT DISTINCT...', Array) #4 /home/nuevo0718/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(504): Zend_Db_Adapter_Pdo_Abstract->query('SELECT DISTINCT...', Array) #5 /home/nuevo0718/public_html/lib/Zend/Db/Adapter/Abstract.php(794): Varien_Db_Adapter_Pdo_Mysql->query('SELECT DISTINCT...', Array) #6 /home/nuevo0718/public_html/app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php(1096): Zend_Db_Adapter_Abstract->fetchCol(Object(Varien_Db_Select)) #7 /home/nuevo0718/public_html/app/code/local/Amasty/Shopby/Block/Catalog/Layer/View.php(282): Mage_Catalog_Model_Resource_Product_Collection->getSetIds() #8 /home/nuevo0718/public_html/app/code/core/Mage/Catalog/Block/Layer/View.php(122): Amasty_Shopby_Block_Catalog_Layer_View->_getFilterableAttributes() #9 /home/nuevo0718/public_html/app/code/local/Amasty/Shopby/Block/Catalog/Layer/View.php(523): Mage_Catalog_Block_Layer_View->_prepareLayout() #10 /home/nuevo0718/public_html/app/code/core/Mage/Core/Block/Abstract.php(297): Amasty_Shopby_Block_Catalog_Layer_View->_prepareLayout() #11 /home/nuevo0718/public_html/app/code/local/Mage/Core/Model/Layout.php(456): Mage_Core_Block_Abstract->setLayout(Object(Inchoo_PHP7_Model_Layout)) #12 /home/nuevo0718/public_html/app/code/local/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock('amshopby/catalo...', 'amshopby.navlef...') #13 /home/nuevo0718/public_html/app/code/local/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout->addBlock('amshopby/catalo...', 'amshopby.navlef...') #14 /home/nuevo0718/public_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)) #15 /home/nuevo0718/public_html/app/code/local/Mage/Core/Model/Layout.php(206): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element)) #16 /home/nuevo0718/public_html/app/code/local/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element)) #17 /home/nuevo0718/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks() #18 /home/nuevo0718/public_html/app/code/core/Mage/Catalog/controllers/CategoryController.php(148): Mage_Core_Controller_Varien_Action->generateLayoutBlocks() #19 /home/nuevo0718/public_html/app/code/local/Amasty/Shopby/controllers/CategoryController.php(32): Mage_Catalog_CategoryController->viewAction() #20 /home/nuevo0718/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Amasty_Shopby_CategoryController->viewAction() #21 /home/nuevo0718/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('view') #22 /home/nuevo0718/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) #23 /home/nuevo0718/public_html/app/code/core/Mage/Core/Model/App.php(381): Mage_Core_Controller_Varien_Front->dispatch() #24 /home/nuevo0718/public_html/app/Mage.php(686): Mage_Core_Model_App->run(Array) #25 /home/nuevo0718/public_html/index.php(141): Mage::run('', 'store') #26 {main}

Error log record number: 1437797341537