SQLSTATE[HY000]: General error: 2006 MySQL server has gone away, query was: SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (entity_id = :entity_id)

#0 /home/pureandbalanced/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/pureandbalanced/public_html/app/code/core/Zend/Db/Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#2 /home/pureandbalanced/public_html/lib/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#3 /home/pureandbalanced/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `catalog...', Array)
#4 /home/pureandbalanced/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(504): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `catalog...', Array)
#5 /home/pureandbalanced/public_html/lib/Zend/Db/Adapter/Abstract.php(828): Varien_Db_Adapter_Pdo_Mysql->query(Object(Varien_Db_Select), Array)
#6 /home/pureandbalanced/public_html/app/code/core/Mage/Catalog/Model/Resource/Category.php(427): Zend_Db_Adapter_Abstract->fetchOne(Object(Varien_Db_Select), Array)
#7 /home/pureandbalanced/public_html/app/code/core/Mage/Catalog/Model/Category.php(671): Mage_Catalog_Model_Resource_Category->checkId('2')
#8 /home/pureandbalanced/public_html/app/code/core/Mage/Catalog/Helper/Category.php(74): Mage_Catalog_Model_Category->checkId('2')
#9 /home/pureandbalanced/public_html/app/design/frontend/pureandbalanced/default/template/page/html/cat-nav.phtml(11): Mage_Catalog_Helper_Category->getStoreCategories()
#10 /home/pureandbalanced/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home/pureandba...')
#11 /home/pureandbalanced/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/purean...')
#12 /home/pureandbalanced/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#13 /home/pureandbalanced/public_html/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Template->_toHtml()
#14 /home/pureandbalanced/public_html/app/design/frontend/pureandbalanced/default/template/page/html/header.phtml(120): Mage_Core_Block_Abstract->toHtml()
#15 /home/pureandbalanced/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home/pureandba...')
#16 /home/pureandbalanced/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/purean...')
#17 /home/pureandbalanced/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#18 /home/pureandbalanced/public_html/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Template->_toHtml()
#19 /home/pureandbalanced/public_html/app/code/core/Mage/Core/Block/Abstract.php(637): Mage_Core_Block_Abstract->toHtml()
#20 /home/pureandbalanced/public_html/app/code/core/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml('header', true)
#21 /home/pureandbalanced/public_html/app/design/frontend/pureandbalanced/default/template/page/cat-2columns-left.phtml(42): Mage_Core_Block_Abstract->getChildHtml('header')
#22 /home/pureandbalanced/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home/pureandba...')
#23 /home/pureandbalanced/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/purean...')
#24 /home/pureandbalanced/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#25 /home/pureandbalanced/public_html/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Template->_toHtml()
#26 /home/pureandbalanced/public_html/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#27 /home/pureandbalanced/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#28 /home/pureandbalanced/public_html/app/code/core/Mage/Catalog/controllers/CategoryController.php(161): Mage_Core_Controller_Varien_Action->renderLayout()
#29 /home/pureandbalanced/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Catalog_CategoryController->viewAction()
#30 /home/pureandbalanced/public_html/app/code/local/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('view')
#31 /home/pureandbalanced/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))
#32 /home/pureandbalanced/public_html/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#33 /home/pureandbalanced/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#34 /home/pureandbalanced/public_html/index.php(99): Mage::run('', 'store')
#35 {main}