SQLSTATE[HY000]: General error: 2006 MySQL server has gone away, query was: SELECT `mguh_cms_block`.*, `cbs`.`store_id` FROM `mguh_cms_block`
 INNER JOIN `mguh_cms_block_store` AS `cbs` ON mguh_cms_block.block_id = cbs.block_id WHERE (`mguh_cms_block`.`identifier`='horizontal-megamenu') AND (is_active = 1) AND (cbs.store_id in (1, 0) ) ORDER BY `store_id` DESC LIMIT 1

#0 /home/advance1/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/advance1/public_html/app/code/core/Zend/Db/Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#2 /home/advance1/public_html/lib/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#3 /home/advance1/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `mguh_cm...', Array)
#4 /home/advance1/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(504): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `mguh_cm...', Array)
#5 /home/advance1/public_html/lib/Zend/Db/Adapter/Abstract.php(756): Varien_Db_Adapter_Pdo_Mysql->query(Object(Varien_Db_Select), Array)
#6 /home/advance1/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(380): Zend_Db_Adapter_Abstract->fetchRow(Object(Varien_Db_Select))
#7 /home/advance1/public_html/app/code/core/Mage/Cms/Model/Resource/Block.php(137): Mage_Core_Model_Resource_Db_Abstract->load(Object(Mage_Cms_Model_Block), 'horizontal-mega...', 'identifier')
#8 /home/advance1/public_html/app/code/core/Mage/Core/Model/Abstract.php(225): Mage_Cms_Model_Resource_Block->load(Object(Mage_Cms_Model_Block), 'horizontal-mega...', NULL)
#9 /home/advance1/public_html/app/code/core/Mage/Cms/Block/Block.php(64): Mage_Core_Model_Abstract->load('horizontal-mega...')
#10 /home/advance1/public_html/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Cms_Block_Block->_toHtml()
#11 /home/advance1/public_html/app/design/frontend/sm_market/default/template/page/html/header8.phtml(96): Mage_Core_Block_Abstract->toHtml()
#12 /home/advance1/public_html/app/design/frontend/sm_market/default/template/page/html/header.phtml(33): include('/home/advance1/...')
#13 /home/advance1/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home/advance1/...')
#14 /home/advance1/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/sm_mar...')
#15 /home/advance1/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#16 /home/advance1/public_html/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Template->_toHtml()
#17 /home/advance1/public_html/app/code/core/Mage/Core/Block/Abstract.php(641): Mage_Core_Block_Abstract->toHtml()
#18 /home/advance1/public_html/app/code/core/Mage/Core/Block/Abstract.php(585): Mage_Core_Block_Abstract->_getChildHtml('header', true)
#19 /home/advance1/public_html/app/design/frontend/sm_market/default/template/page/2columns-left.phtml(54): Mage_Core_Block_Abstract->getChildHtml('header')
#20 /home/advance1/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home/advance1/...')
#21 /home/advance1/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/sm_mar...')
#22 /home/advance1/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#23 /home/advance1/public_html/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Template->_toHtml()
#24 /home/advance1/public_html/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#25 /home/advance1/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#26 /home/advance1/public_html/app/code/local/Sm/Shopby/controllers/ResultController.php(65): Mage_Core_Controller_Varien_Action->renderLayout()
#27 /home/advance1/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Sm_Shopby_ResultController->indexAction()
#28 /home/advance1/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('index')
#29 /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))
#30 /home/advance1/public_html/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#31 /home/advance1/public_html/app/Mage.php(692): Mage_Core_Model_App->run(Array)
#32 /home/advance1/public_html/index.php(85): Mage::run('', 'store')
#33 {main}