SELECT `e`.*, IF(at_is_active.value_id > 0, at_is_active.value, at_is_active_default.value) AS `is_active` FROM `catalog_category_entity` AS `e`
 INNER JOIN `catalog_category_entity_int` AS `at_is_active_default` ON (`at_is_active_default`.`entity_id` = `e`.`entity_id`) AND (`at_is_active_default`.`attribute_id` = '42') AND `at_is_active_default`.`store_id` = 0
 LEFT JOIN `catalog_category_entity_int` AS `at_is_active` ON (`at_is_active`.`entity_id` = `e`.`entity_id`) AND (`at_is_active`.`attribute_id` = '42') AND (`at_is_active`.`store_id` = 1) WHERE (`e`.`entity_type_id` = '3') AND (`e`.`entity_id` IN('9', '431', '487')) AND (IF(at_is_active.value_id > 0, at_is_active.value, at_is_active_default.value) = '1')

Warning: Error while sending QUERY packet. PID=32563  in /home/stokycom/domains/stoky.com.br/public_html/lib/Zend/Db/Statement/Pdo.php on line 228

#0 [internal function]: mageCoreErrorHandler(2, 'Error while sen...', '/home/stokycom/...', 228, Array)
#1 /home/stokycom/domains/stoky.com.br/public_html/lib/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array)
#2 /home/stokycom/domains/stoky.com.br/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#3 /home/stokycom/domains/stoky.com.br/public_html/app/code/core/Zend/Db/Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#4 /home/stokycom/domains/stoky.com.br/public_html/lib/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#5 /home/stokycom/domains/stoky.com.br/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `e`.*, I...', Array)
#6 /home/stokycom/domains/stoky.com.br/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(504): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `e`.*, I...', Array)
#7 /home/stokycom/domains/stoky.com.br/public_html/lib/Zend/Db/Adapter/Abstract.php(737): Varien_Db_Adapter_Pdo_Mysql->query('SELECT `e`.*, I...', Array)
#8 /home/stokycom/domains/stoky.com.br/public_html/lib/Varien/Data/Collection/Db.php(740): Zend_Db_Adapter_Abstract->fetchAll('SELECT `e`.*, I...', Array)
#9 /home/stokycom/domains/stoky.com.br/public_html/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(1046): Varien_Data_Collection_Db->_fetchAll('SELECT `e`.*, I...')
#10 /home/stokycom/domains/stoky.com.br/public_html/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(871): Mage_Eav_Model_Entity_Collection_Abstract->_loadEntities(false, false)
#11 /home/stokycom/domains/stoky.com.br/public_html/app/code/core/Mage/Catalog/Model/Resource/Category/Collection.php(225): Mage_Eav_Model_Entity_Collection_Abstract->load(false, false)
#12 /home/stokycom/domains/stoky.com.br/public_html/app/code/core/Mage/Catalog/Model/Resource/Category.php(599): Mage_Catalog_Model_Resource_Category_Collection->load()
#13 /home/stokycom/domains/stoky.com.br/public_html/app/code/core/Mage/Catalog/Model/Category.php(829): Mage_Catalog_Model_Resource_Category->getParentCategories(Object(Mage_Catalog_Model_Category))
#14 /home/stokycom/domains/stoky.com.br/public_html/app/code/core/Mage/Catalog/Helper/Data.php(104): Mage_Catalog_Model_Category->getParentCategories()
#15 /home/stokycom/domains/stoky.com.br/public_html/app/code/core/Mage/Catalog/Block/Breadcrumbs.php(63): Mage_Catalog_Helper_Data->getBreadcrumbPath()
#16 /home/stokycom/domains/stoky.com.br/public_html/app/code/core/Mage/Core/Block/Abstract.php(297): Mage_Catalog_Block_Breadcrumbs->_prepareLayout()
#17 /home/stokycom/domains/stoky.com.br/public_html/app/code/core/Mage/Core/Model/Layout.php(456): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#18 /home/stokycom/domains/stoky.com.br/public_html/app/code/core/Mage/Catalog/Block/Category/View.php(40): Mage_Core_Model_Layout->createBlock('catalog/breadcr...')
#19 /home/stokycom/domains/stoky.com.br/public_html/app/code/core/Mage/Core/Block/Abstract.php(297): Mage_Catalog_Block_Category_View->_prepareLayout()
#20 /home/stokycom/domains/stoky.com.br/public_html/app/code/core/Mage/Core/Model/Layout.php(456): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#21 /home/stokycom/domains/stoky.com.br/public_html/app/code/core/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock('catalog/categor...', 'category.produc...')
#22 /home/stokycom/domains/stoky.com.br/public_html/app/code/core/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout->addBlock('catalog/categor...', 'category.produc...')
#23 /home/stokycom/domains/stoky.com.br/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))
#24 /home/stokycom/domains/stoky.com.br/public_html/app/code/core/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#25 /home/stokycom/domains/stoky.com.br/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks()
#26 /home/stokycom/domains/stoky.com.br/public_html/app/code/core/Mage/Catalog/controllers/CategoryController.php(148): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#27 /home/stokycom/domains/stoky.com.br/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Catalog_CategoryController->viewAction()
#28 /home/stokycom/domains/stoky.com.br/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('view')
#29 /home/stokycom/domains/stoky.com.br/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/stokycom/domains/stoky.com.br/public_html/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#31 /home/stokycom/domains/stoky.com.br/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#32 /home/stokycom/domains/stoky.com.br/public_html/index.php(84): Mage::run('', 'store')
#33 {main}