SQLSTATE[HY000]: General error: 2006 MySQL server has gone away, query was: SELECT DISTINCT COUNT(DISTINCT e.entity_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 = '689'
 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
 INNER JOIN `catalog_category_product` AS `cp` ON cp.product_id = e.entity_id AND cp.category_id IN (740,758,769,796,878,905,741,759,760,770,797,799,804,831,832,863,869,879,906,910,911,913,914,915,943,1052,1053)

#0 /var/domains/janvanvelden-janvanvelden.nl/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#1 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/code/core/Zend/Db/Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#2 /var/domains/janvanvelden-janvanvelden.nl/public_html/lib/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#3 /var/domains/janvanvelden-janvanvelden.nl/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT DISTINCT...', Array)
#4 /var/domains/janvanvelden-janvanvelden.nl/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(504): Zend_Db_Adapter_Pdo_Abstract->query('SELECT DISTINCT...', Array)
#5 /var/domains/janvanvelden-janvanvelden.nl/public_html/lib/Zend/Db/Adapter/Abstract.php(828): Varien_Db_Adapter_Pdo_Mysql->query(Object(Varien_Db_Select), Array)
#6 /var/domains/janvanvelden-janvanvelden.nl/public_html/lib/Varien/Data/Collection/Db.php(225): Zend_Db_Adapter_Abstract->fetchOne(Object(Varien_Db_Select), Array)
#7 /var/domains/janvanvelden-janvanvelden.nl/public_html/lib/Varien/Data/Collection.php(225): Varien_Data_Collection_Db->getSize()
#8 /var/domains/janvanvelden-janvanvelden.nl/public_html/lib/Varien/Data/Collection.php(211): Varien_Data_Collection->getLastPageNumber()
#9 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(1034): Varien_Data_Collection->getCurPage()
#10 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(871): Mage_Eav_Model_Entity_Collection_Abstract->_loadEntities(false, false)
#11 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/code/core/Mage/Review/Model/Observer.php(78): Mage_Eav_Model_Entity_Collection_Abstract->load()
#12 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/code/core/Mage/Core/Model/App.php(1374): Mage_Review_Model_Observer->catalogBlockProductCollectionBeforeToHtml(Object(Varien_Event_Observer))
#13 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/code/core/Mage/Core/Model/App.php(1347): Mage_Core_Model_App->_callObserverMethod(Object(Mage_Review_Model_Observer), 'catalogBlockPro...', Object(Varien_Event_Observer))
#14 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/Mage.php(448): Mage_Core_Model_App->dispatchEvent('catalog_block_p...', Array)
#15 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/code/core/Mage/Catalog/Block/Product/List.php(164): Mage::dispatchEvent('catalog_block_p...', Array)
#16 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/code/core/Mage/Core/Block/Abstract.php(922): Mage_Catalog_Block_Product_List->_beforeToHtml()
#17 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/code/core/Mage/Core/Block/Abstract.php(641): Mage_Core_Block_Abstract->toHtml()
#18 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/code/core/Mage/Core/Block/Abstract.php(585): Mage_Core_Block_Abstract->_getChildHtml('product_list', true)
#19 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/code/core/Mage/Catalog/Block/Category/View.php(90): Mage_Core_Block_Abstract->getChildHtml('product_list')
#20 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/design/frontend/base/default/template/catalog/category/view.phtml(70): Mage_Catalog_Block_Category_View->getProductListHtml()
#21 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/var/domains/ja...')
#22 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/base/d...')
#23 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#24 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Template->_toHtml()
#25 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#26 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Text_List->_toHtml()
#27 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/code/core/Mage/Core/Block/Abstract.php(641): Mage_Core_Block_Abstract->toHtml()
#28 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/code/core/Mage/Core/Block/Abstract.php(585): Mage_Core_Block_Abstract->_getChildHtml('content', true)
#29 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/design/frontend/ultimo/default/template/page/2columns-left.phtml(53): Mage_Core_Block_Abstract->getChildHtml('content')
#30 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/var/domains/ja...')
#31 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/ultimo...')
#32 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#33 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Template->_toHtml()
#34 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#35 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#36 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/code/core/Mage/Catalog/controllers/CategoryController.php(161): Mage_Core_Controller_Varien_Action->renderLayout()
#37 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/code/local/Amasty/Shopby/controllers/CategoryController.php(49): Mage_Catalog_CategoryController->viewAction()
#38 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Amasty_Shopby_CategoryController->viewAction()
#39 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('view')
#40 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/code/local/BalkeTechnologies/StoreMaintenance/Controller/Router/Standard.php(94): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#41 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): BalkeTechnologies_StoreMaintenance_Controller_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#42 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/code/core/Mage/Core/Model/App.php(381): Mage_Core_Controller_Varien_Front->dispatch()
#43 /var/domains/janvanvelden-janvanvelden.nl/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#44 /var/domains/janvanvelden-janvanvelden.nl/public_html/index.php(85): Mage::run('', 'store')
#45 {main}