Warning: PDOStatement::execute(): MySQL server has gone away  in /home/advance1/public_html/lib/Zend/Db/Statement/Pdo.php on line 228

#0 [internal function]: mageCoreErrorHandler(2, 'PDOStatement::e...', '/home/advance1/...', 228, Array)
#1 /home/advance1/public_html/lib/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array)
#2 /home/advance1/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#3 /home/advance1/public_html/app/code/core/Zend/Db/Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#4 /home/advance1/public_html/lib/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#5 /home/advance1/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT DISTINCT...', Array)
#6 /home/advance1/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(504): Zend_Db_Adapter_Pdo_Abstract->query('SELECT DISTINCT...', Array)
#7 /home/advance1/public_html/lib/Zend/Db/Adapter/Abstract.php(794): Varien_Db_Adapter_Pdo_Mysql->query(Object(Varien_Db_Select), Array)
#8 /home/advance1/public_html/app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php(1096): Zend_Db_Adapter_Abstract->fetchCol(Object(Varien_Db_Select))
#9 /home/advance1/public_html/app/code/core/Mage/Catalog/Model/Layer.php(290): Mage_Catalog_Model_Resource_Product_Collection->getSetIds()
#10 /home/advance1/public_html/app/code/core/Mage/Catalog/Model/Layer.php(220): Mage_Catalog_Model_Layer->_getSetIds()
#11 /home/advance1/public_html/app/code/local/Sm/Shopby/Model/Catalog/Layer.php(13): Mage_Catalog_Model_Layer->getFilterableAttributes()
#12 /home/advance1/public_html/app/code/core/Mage/Catalog/Block/Layer/View.php(163): Sm_Shopby_Model_Catalog_Layer->getFilterableAttributes()
#13 /home/advance1/public_html/app/code/core/Mage/Catalog/Block/Layer/View.php(122): Mage_Catalog_Block_Layer_View->_getFilterableAttributes()
#14 /home/advance1/public_html/app/code/core/Mage/Core/Block/Abstract.php(297): Mage_Catalog_Block_Layer_View->_prepareLayout()
#15 /home/advance1/public_html/app/code/core/Mage/Core/Model/Layout.php(456): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#16 /home/advance1/public_html/app/code/core/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock('catalogsearch/l...', 'catalogsearch.l...')
#17 /home/advance1/public_html/app/code/core/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout->addBlock('catalogsearch/l...', 'catalogsearch.l...')
#18 /home/advance1/public_html/app/code/core/Mage/Core/Model/Layout.php(205): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#19 /home/advance1/public_html/app/code/core/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#20 /home/advance1/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks()
#21 /home/advance1/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(269): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#22 /home/advance1/public_html/app/code/local/Sm/Shopby/controllers/ResultController.php(41): Mage_Core_Controller_Varien_Action->loadLayout()
#23 /home/advance1/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Sm_Shopby_ResultController->indexAction()
#24 /home/advance1/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('index')
#25 /home/advance1/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))
#26 /home/advance1/public_html/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#27 /home/advance1/public_html/app/Mage.php(692): Mage_Core_Model_App->run(Array)
#28 /home/advance1/public_html/index.php(85): Mage::run('', 'store')
#29 {main}