[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 
	`tdrd_rule_quick`.`ID` AS `ID`,
	`tdrd_rule_quick`.`ACTIVE` AS `ACTIVE`,
	`tdrd_rule_quick`.`SORT` AS `SORT`,
	`tdrd_rule_quick`.`SITE_ID` AS `SITE_ID`,
	`tdrd_rule_quick`.`RULE_ID` AS `RULE_ID`,
	`tdrd_rule_quick`.`TYPE_FROM` AS `TYPE_FROM`,
	`tdrd_rule_quick`.`TYPE_TO` AS `TYPE_TO`,
	`tdrd_rule_quick`.`FROM` AS `FROM`,
	`tdrd_rule_quick`.`TO` AS `TO`
FROM `tdrd_rule_quick` `tdrd_rule_quick` 

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