[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 
	`blackbutterfly_seoredirektprod7_seoredirekt`.`ID` AS `ID`,
	`blackbutterfly_seoredirektprod7_seoredirekt`.`FIRSTURL` AS `FIRSTURL`,
	`blackbutterfly_seoredirektprod7_seoredirekt`.`LASTURL` AS `LASTURL`,
	`blackbutterfly_seoredirektprod7_seoredirekt`.`TYPEBLOCK` AS `TYPEBLOCK`,
	`blackbutterfly_seoredirektprod7_seoredirekt`.`SITEID` AS `SITEID`,
	`blackbutterfly_seoredirektprod7_seoredirekt`.`ADDURLDATE` AS `ADDURLDATE`,
	`blackbutterfly_seoredirektprod7_seoredirekt`.`USERID` AS `USERID`
FROM `b_blackbutterfly_seoredirekt` `blackbutterfly_seoredirektprod7_seoredirekt` 

WHERE UPPER(`blackbutterfly_seoredirektprod7_seoredirekt`.`FIRSTURL`) like upper('%/catalog/podsvetka-kartin-i-zerkal/%')
AND UPPER(`blackbutterfly_seoredirektprod7_seoredirekt`.`TYPEBLOCK`) like upper('folders')
AND UPPER(`blackbutterfly_seoredirektprod7_seoredirekt`.`SITEID`) 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:329
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/www/bitrix/modules/main/lib/entity/query.php:1924
#2: Bitrix\Main\Entity\Query->query(string)
	/home/bitrix/www/bitrix/modules/main/lib/entity/query.php:505
#3: Bitrix\Main\Entity\Query->exec()
	/home/bitrix/www/bitrix/modules/main/lib/entity/datamanager.php:256
#4: Bitrix\Main\Entity\DataManager::getList(array)
	/home/bitrix/www/bitrix/modules/blackbutterfly.seoredirektprod7/classes/general/seoredirekt.php:180
#5: BLACKSeoredirekt::Redirektlist()
	/home/bitrix/www/bitrix/modules/main/classes/general/module.php:490
#6: ExecuteModuleEventEx(array)
	/home/bitrix/www/bitrix/modules/main/include.php:266
#7: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog_before.php:14
#8: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog.php:10
#9: require_once(string)
	/home/bitrix/www/bitrix/header.php:1
#10: require(string)
	/home/bitrix/www/catalog/index.php:2
#11: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#12: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2