SELECT `t_d`.`attribute_id`, `e`.`entity_id`, `t_d`.`value` AS `default_value`, `t_s`.`value` AS `store_value`, IF(t_s.value_id IS NULL, t_d.value, t_s.value) AS `value` FROM `mg_catalog_category_entity_varchar` AS `t_d` INNER JOIN `mg_catalog_category_entity` AS `e` ON e.entity_id = t_d.entity_id LEFT JOIN `mg_catalog_category_entity_varchar` AS `t_s` ON t_s.attribute_id = t_d.attribute_id AND t_s.entity_id = t_d.entity_id AND t_s.store_id = 1 WHERE (e.entity_id IN (27, 26, 15, 23, 24, 81, 6, 38, 5, 39, 4, 40, 11, 49, 17, 50, 22, 58, 10, 51, 14, 7, 13, 41, 18, 8, 43, 42, 20, 29, 9, 79, 30, 31, 32, 33, 34, 37, 35, 44, 36, 45)) AND (t_d.attribute_id IN ('45')) AND (t_d.store_id = IFNULL(t_s.store_id, 0))1 exception(s): Exception #0 (Exception): Warning: Error while sending QUERY packet. PID=2551 in /home/speroni/public_html/vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo.php on line 228 Exception #0 (Exception): Warning: Error while sending QUERY packet. PID=2551 in /home/speroni/public_html/vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo.php on line 228 #0 [internal function]: Magento\Framework\App\ErrorHandler->handler(2, 'Error while sen...', '/home/speroni/p...', 228, Array) #1 /home/speroni/public_html/vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array) #2 /home/speroni/public_html/vendor/magento/framework/DB/Statement/Pdo/Mysql.php(95): Zend_Db_Statement_Pdo->_execute(Array) #3 /home/speroni/public_html/vendor/magento/zendframework1/library/Zend/Db/Statement.php(303): Magento\Framework\DB\Statement\Pdo\Mysql->_execute(Array) #4 /home/speroni/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array) #5 /home/speroni/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `t_d`.`a...', Array) #6 /home/speroni/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(465): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `t_d`.`a...', Array) #7 /home/speroni/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(520): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT `t_d`.`a...', Array) #8 /home/speroni/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(737): Magento\Framework\DB\Adapter\Pdo\Mysql->query('SELECT `t_d`.`a...', Array) #9 /home/speroni/public_html/vendor/magento/module-eav/Model/Entity/Collection/AbstractCollection.php(1179): Zend_Db_Adapter_Abstract->fetchAll('SELECT `t_d`.`a...') #10 /home/speroni/public_html/vendor/magento/module-eav/Model/Entity/Collection/AbstractCollection.php(913): Magento\Eav\Model\Entity\Collection\AbstractCollection->_loadAttributes(false, false) #11 /home/speroni/public_html/vendor/magento/module-catalog/Model/ResourceModel/Category/Collection.php(175): Magento\Eav\Model\Entity\Collection\AbstractCollection->load(false, false) #12 /home/speroni/public_html/vendor/magento/framework/Data/Collection.php(820): Magento\Catalog\Model\ResourceModel\Category\Collection->load() #13 /home/speroni/public_html/vendor/magento/module-catalog/Plugin/Block/Topmenu.php(114): Magento\Framework\Data\Collection->getIterator() #14 /home/speroni/public_html/vendor/magento/framework/Interception/Interceptor.php(123): Magento\Catalog\Plugin\Block\Topmenu->beforeGetIdentities(Object(Magento\Theme\Block\Html\Topmenu\Interceptor)) #15 /home/speroni/public_html/var/generation/Magento/Theme/Block/Html/Topmenu/Interceptor.php(52): Magento\Theme\Block\Html\Topmenu\Interceptor->___callPlugins('getIdentities', Array, Array) #16 /home/speroni/public_html/vendor/magento/module-page-cache/Model/Layout/LayoutPlugin.php(71): Magento\Theme\Block\Html\Topmenu\Interceptor->getIdentities() #17 /home/speroni/public_html/vendor/magento/framework/Interception/Interceptor.php(152): Magento\PageCache\Model\Layout\LayoutPlugin->afterGetOutput(Object(Magento\Framework\View\Layout\Interceptor), '