SQLSTATE[42000]: Syntax error or access violation: 1226 User 'ricci_magento' has exceeded the 'max_questions' resource (current value: 1), query was: SELECT `d`.`entity_id` FROM `catalog_category_entity_int` AS `d`
 LEFT JOIN `catalog_category_entity_int` AS `c` ON c.attribute_id = :attribute_id AND c.store_id = :store_id AND c.entity_id = d.entity_id WHERE (d.attribute_id = :attribute_id) AND (d.store_id = :zero_store_id) AND (d.entity_id IN (NULL)) AND (IF(c.value_id > 0, c.value, d.value) = :cond)

#0 /home1/ricci/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home1/ricci/public_html/app/code/core/Zend/Db/Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#2 /home1/ricci/public_html/lib/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#3 /home1/ricci/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `d`.`ent...', Array)
#4 /home1/ricci/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(504): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `d`.`ent...', Array)
#5 /home1/ricci/public_html/lib/Zend/Db/Adapter/Abstract.php(794): Varien_Db_Adapter_Pdo_Mysql->query(Object(Varien_Db_Select), Array)
#6 /home1/ricci/public_html/app/code/core/Mage/Catalog/Model/Resource/Category/Tree.php(319): Zend_Db_Adapter_Abstract->fetchCol(Object(Varien_Db_Select), Array)
#7 /home1/ricci/public_html/app/code/core/Mage/Catalog/Model/Resource/Category/Tree.php(242): Mage_Catalog_Model_Resource_Category_Tree->_getInactiveItemIds(Object(Mage_Catalog_Model_Resource_Category_Collection), '3')
#8 /home1/ricci/public_html/app/code/core/Mage/Catalog/Model/Resource/Category/Tree.php(154): Mage_Catalog_Model_Resource_Category_Tree->_getDisabledIds(Object(Mage_Catalog_Model_Resource_Category_Collection))
#9 /home1/ricci/public_html/app/code/core/Mage/Catalog/Model/Resource/Category.php(576): Mage_Catalog_Model_Resource_Category_Tree->addCollectionData(NULL, false, '27', true, true)
#10 /home1/ricci/public_html/app/code/core/Mage/Catalog/Model/Category.php(818): Mage_Catalog_Model_Resource_Category->getCategories('27', 0, false, false, true)
#11 /home1/ricci/public_html/app/code/local/Smartwave/Megamenu/Block/Navigation.php(407): Mage_Catalog_Model_Category->getCategories('27')
#12 /home1/ricci/public_html/app/code/local/Smartwave/Megamenu/Block/Navigation.php(73): Smartwave_Megamenu_Block_Navigation->_getActiveChildren(Object(Varien_Data_Tree_Node), 0)
#13 /home1/ricci/public_html/app/code/local/Smartwave/Megamenu/Helper/Data.php(140): Smartwave_Megamenu_Block_Navigation->drawMegaMenuItem(Object(Varien_Data_Tree_Node), 'mb')
#14 /home1/ricci/public_html/app/design/frontend/smartwave/porto/template/smartwave/megamenu/html/mobilemenu.phtml(12): Smartwave_Megamenu_Helper_Data->getMobileMenuContent(NULL)
#15 /home1/ricci/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home1/ricci/pu...')
#16 /home1/ricci/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/smartw...')
#17 /home1/ricci/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#18 /home1/ricci/public_html/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Template->_toHtml()
#19 /home1/ricci/public_html/app/code/core/Mage/Core/Block/Abstract.php(641): Mage_Core_Block_Abstract->toHtml()
#20 /home1/ricci/public_html/app/code/core/Mage/Core/Block/Abstract.php(585): Mage_Core_Block_Abstract->_getChildHtml('mobile.nav', true)
#21 /home1/ricci/public_html/app/design/frontend/smartwave/porto/template/page/html/header_type4.phtml(50): Mage_Core_Block_Abstract->getChildHtml('mobile.nav')
#22 /home1/ricci/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home1/ricci/pu...')
#23 /home1/ricci/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/smartw...')
#24 /home1/ricci/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#25 /home1/ricci/public_html/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Template->_toHtml()
#26 /home1/ricci/public_html/app/code/core/Mage/Core/Block/Abstract.php(641): Mage_Core_Block_Abstract->toHtml()
#27 /home1/ricci/public_html/app/code/core/Mage/Core/Block/Abstract.php(585): Mage_Core_Block_Abstract->_getChildHtml('header', true)
#28 /home1/ricci/public_html/app/design/frontend/smartwave/porto/template/page/1column.phtml(43): Mage_Core_Block_Abstract->getChildHtml('header')
#29 /home1/ricci/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home1/ricci/pu...')
#30 /home1/ricci/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/smartw...')
#31 /home1/ricci/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#32 /home1/ricci/public_html/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Template->_toHtml()
#33 /home1/ricci/public_html/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#34 /home1/ricci/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#35 /home1/ricci/public_html/app/code/core/Mage/Cms/Helper/Page.php(137): Mage_Core_Controller_Varien_Action->renderLayout()
#36 /home1/ricci/public_html/app/code/core/Mage/Cms/Helper/Page.php(52): Mage_Cms_Helper_Page->_renderPage(Object(Mage_Cms_IndexController), 'home')
#37 /home1/ricci/public_html/app/code/core/Mage/Cms/controllers/IndexController.php(45): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), 'home')
#38 /home1/ricci/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Cms_IndexController->indexAction()
#39 /home1/ricci/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('index')
#40 /home1/ricci/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))
#41 /home1/ricci/public_html/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#42 /home1/ricci/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#43 /home1/ricci/public_html/index.php(83): Mage::run('', 'store')
#44 {main}