"> FILE: /home/bitrix/www/bitrix/modules/iblock/classes/mysql/iblock.php
LINE: 239
MySQL Query Error: SELECT DISTINCT B.* ,B.XML_ID as EXTERNAL_ID ,DATE_FORMAT(B.TIMESTAMP_X, '%d.%m.%Y %H:%i:%s') as TIMESTAMP_X ,L.DIR as LANG_DIR ,L.SERVER_NAME FROM b_iblock B INNER JOIN b_lang L ON L.LID=B.LID WHERE 1 = 1 AND ( B.ID IN ( SELECT IBLOCK_ID FROM b_iblock_group IBG WHERE IBG.GROUP_ID IN (2) AND IBG.PERMISSION >= 'R' AND (IBG.PERMISSION='X' OR B.ACTIVE='Y') ) OR (B.RIGHTS_MODE = 'E' AND B.ID IN ( SELECT IBLOCK_ID FROM b_iblock_right IBR INNER JOIN b_task_operation T ON T.TASK_ID = IBR.TASK_ID INNER JOIN b_operation O ON O.ID = T.OPERATION_ID INNER JOIN b_user_access UA ON UA.ACCESS_CODE = IBR.GROUP_CODE AND UA.USER_ID = 0 WHERE IBR.ENTITY_TYPE = 'iblock' AND O.NAME in ('section_read', 'element_read', 'section_element_bind', 'section_section_bind') )) ) AND ((((B.ACTIVE='Y')))) AND ((((B.ID = '9')))) [[2006] MySQL server has gone away]

DB query error.
Please try later.





Fatal error: Uncaught Bitrix\Main\DB\SqlQueryException: Mysql query error: (2006) MySQL server has gone away in /home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php:137 Stack trace: #0 /home/bitrix/www/bitrix/modules/main/lib/db/connection.php(330): Bitrix\Main\DB\MysqliConnection->queryInternal('SELECT \n\t`main_...', Array, NULL) #1 /home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php(3538): Bitrix\Main\DB\Connection->query('SELECT \n\t`main_...') #2 /home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php(949): Bitrix\Main\ORM\Query\Query->query('SELECT \n\t`main_...') #3 /home/bitrix/www/bitrix/modules/main/lib/orm/data/datamanager.php(500): Bitrix\Main\ORM\Query\Query->exec() #4 /home/bitrix/www/bitrix/modules/main/lib/analytics/sitespeed.php(95): Bitrix\Main\ORM\Data\DataManager::getList(Array) #5 /home/bitrix/www/bitrix/modules/main/lib/analytics/counter.php(92): Bitrix\Main\Analytics\SiteSpeed::isIntranetSite('s1') #6 /home/bitrix/www/bitrix/modules/main/classes/general/module.php(480): Bit in /home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php on line 137