[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 
	`tdrd_rule`.`ID` AS `ID`,
	`tdrd_rule`.`ACTIVE` AS `ACTIVE`,
	`tdrd_rule`.`SORT` AS `SORT`,
	`tdrd_rule`.`CREATED_BY` AS `CREATED_BY`,
	`tdrd_rule`.`DATE_CREATE` AS `DATE_CREATE`,
	`tdrd_rule`.`SITE_ID` AS `SITE_ID`,
	`tdrd_rule`.`STOP_AFTER` AS `STOP_AFTER`,
	`tdrd_rule`.`STATUS_CODE` AS `STATUS_CODE`,
	`tdrd_rule`.`MD5` AS `MD5`,
	`tdrd_rule`.`RULE_FROM` AS `RULE_FROM`,
	`tdrd_rule`.`RULE_TO` AS `RULE_TO`,
	`tdrd_rule`.`COMMENT` AS `COMMENT`,
	`tdrd_rule`.`ACTIVE_FROM` AS `ACTIVE_FROM`,
	`tdrd_rule`.`ACTIVE_TO` AS `ACTIVE_TO`,
	`tdrd_rule`.`IS_AUTO` AS `IS_AUTO`,
	`tdrd_rule`.`IN_QUICK_TABLE` AS `IN_QUICK_TABLE`,
	`tdrd_rule`.`SECTION_ID` AS `SECTION_ID`,
	`tdrd_rule`.`ELEMENT_ID` AS `ELEMENT_ID`
FROM `tdrd_rules` `tdrd_rule` 

WHERE `tdrd_rule`.`ACTIVE` = '1'
AND UPPER(`tdrd_rule`.`SITE_ID`) like upper('%s1%')
/home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/bitrix/www/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php:3357
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php:825
#3: Bitrix\Main\ORM\Query\Query->exec()
	/home/bitrix/www/bitrix/modules/main/lib/orm/data/datamanager.php:500
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/home/bitrix/www/bitrix/modules/techdir.redirector/quick-master.php:15
#5: TdrdQuickMaster::getRules()
	/home/bitrix/www/bitrix/modules/techdir.redirector/include.php:620
#6: TDRedirector::onBeforeProlog()
	/home/bitrix/www/bitrix/modules/main/classes/general/module.php:480
#7: ExecuteModuleEventEx(array)
	/home/bitrix/www/bitrix/modules/main/include.php:571
#8: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog_before.php:14
#9: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog.php:10
#10: require_once(string)
	/home/bitrix/www/bitrix/header.php:1
#11: require(string)
	/home/bitrix/www/catalog/index.php:1
#12: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#13: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2