MySQL Query Error: select BE.ID from b_iblock_element BE INNER JOIN b_iblock_section_element BSE ON BSE.IBLOCK_ELEMENT_ID = BE.ID AND BSE.ADDITIONAL_PROPERTY_ID IS NULL INNER JOIN b_iblock_section BS ON BS.ID = BSE.IBLOCK_SECTION_ID INNER JOIN b_iblock_section BSP ON BS.IBLOCK_ID = BSP.IBLOCK_ID AND BS.LEFT_MARGIN >= BSP.LEFT_MARGIN AND BS.RIGHT_MARGIN <= BSP.RIGHT_MARGIN INNER JOIN b_iblock_section BS0 ON BS0.ID = BSP.ID INNER JOIN b_iblock_section BS1 ON BS1.ID = BS0.IBLOCK_SECTION_ID INNER JOIN b_iblock_section BS2 ON BS2.ID = BS1.IBLOCK_SECTION_ID INNER JOIN b_iblock_section BS3 ON BS3.ID = BS2.IBLOCK_SECTION_ID WHERE BE.IBLOCK_ID = 6 AND BE.CODE = 'otvertka_TORX_T_20_210mm_JONNESWAY' AND BS0.CODE = 'otvertki' AND BS1.CODE = 'otvertki_i_nabory_otvertok' AND BS2.CODE = 'instrument_ruchnoy' AND BS3.CODE = 'instrument' [MySQL server has gone away]

DB query error.
Please try later.





Fatal error: Uncaught exception 'Bitrix\Main\DB\SqlQueryException' with message 'Mysql query error: MySQL server has gone away' in /home/bitrix/www/bitrix/modules/main/lib/db/mysqlconnection.php:116 Stack trace: #0 /home/bitrix/www/bitrix/modules/main/lib/db/connection.php(329): Bitrix\Main\DB\MysqlConnection->queryInternal('SELECT \n\t`sale_...', Array, NULL) #1 /home/bitrix/www/bitrix/modules/main/lib/entity/query.php(1924): Bitrix\Main\DB\Connection->query('SELECT \n\t`sale_...') #2 /home/bitrix/www/bitrix/modules/main/lib/entity/query.php(505): Bitrix\Main\Entity\Query->query('SELECT \n\t`sale_...') #3 /home/bitrix/www/bitrix/modules/main/lib/entity/datamanager.php(256): Bitrix\Main\Entity\Query->exec() #4 /home/bitrix/www/bitrix/modules/ipol.yadost/classes/general/CIPOLYadostHelper.php(72): Bitrix\Main\Entity\DataManager::getList(Array) #5 /home/bitrix/www/bitrix/modules/ipol.yadost/classes/general/CIPOLYadostHelper.php(84): CIPOLYadostHelper::getDelivery() #6 /home/bitrix/www/bitrix/modules/ipol.yadost/classes/gener in /home/bitrix/www/bitrix/modules/main/lib/db/mysqlconnection.php on line 116