There has been an error processing your request

SQLSTATE[70100]: <>: 1317 Query execution was interrupted, query was: SELECT DISTINCT `e`.`attribute_set_id` FROM `lg2k14_catalog_product_entity` AS `e`
 INNER JOIN `lg2k14_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 = '214'
 LEFT JOIN `lg2k14_cataloginventory_stock_item` AS `at_inventory_in_stock` ON (at_inventory_in_stock.`product_id`=e.entity_id) AND (is_in_stock>=0)
 INNER JOIN `lg2k14_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 /cache/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array) #1 /cache/app/code/core/Zend/Db/Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute(Array) #2 /cache/lib/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array) #3 /cache/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT DISTINCT...', Array) #4 /cache/lib/Varien/Db/Adapter/Pdo/Mysql.php(428): Zend_Db_Adapter_Pdo_Abstract->query('SELECT DISTINCT...', Array) #5 /cache/lib/Zend/Db/Adapter/Abstract.php(794): Varien_Db_Adapter_Pdo_Mysql->query(Object(Varien_Db_Select), Array) #6 /cache/app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php(1096): Zend_Db_Adapter_Abstract->fetchCol(Object(Varien_Db_Select)) #7 /cache/app/code/core/Mage/Catalog/Model/Layer.php(290): Mage_Catalog_Model_Resource_Product_Collection->getSetIds() #8 /cache/app/code/core/Mage/Catalog/Model/Layer.php(220): Mage_Catalog_Model_Layer->_getSetIds() #9 /cache/app/code/local/Amasty/Meta/Model/Observer.php(34): Mage_Catalog_Model_Layer->getFilterableAttributes() #10 /cache/app/code/core/Mage/Core/Model/App.php(1339): Amasty_Meta_Model_Observer->setCategoryData(Object(Varien_Event_Observer)) #11 /cache/app/code/core/Mage/Core/Model/App.php(1318): Mage_Core_Model_App->_callObserverMethod(Object(Amasty_Meta_Model_Observer), 'setCategoryData', Object(Varien_Event_Observer)) #12 /cache/app/Mage.php(448): Mage_Core_Model_App->dispatchEvent('catalog_control...', Array) #13 /cache/app/code/core/Mage/Catalog/controllers/CategoryController.php(67): Mage::dispatchEvent('catalog_control...', Array) #14 /cache/app/code/core/Mage/Catalog/controllers/CategoryController.php(116): Mage_Catalog_CategoryController->_initCatagory() #15 /cache/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Catalog_CategoryController->viewAction() #16 /cache/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('view') #17 /cache/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) #18 /cache/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch() #19 /cache/app/Mage.php(684): Mage_Core_Model_App->run(Array) #20 /cache/index.php(89): Mage::run('', 'store') #21 {main}

Error log record number: 559704758913