[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 
	`abtest_a_btest`.`ID` AS `ID`,
	`abtest_a_btest`.`SITE_ID` AS `SITE_ID`,
	`abtest_a_btest`.`ACTIVE` AS `ACTIVE`,
	`abtest_a_btest`.`ENABLED` AS `ENABLED`,
	`abtest_a_btest`.`NAME` AS `NAME`,
	`abtest_a_btest`.`DESCR` AS `DESCR`,
	`abtest_a_btest`.`TEST_DATA` AS `TEST_DATA`,
	`abtest_a_btest`.`START_DATE` AS `START_DATE`,
	`abtest_a_btest`.`STOP_DATE` AS `STOP_DATE`,
	`abtest_a_btest`.`DURATION` AS `DURATION`,
	`abtest_a_btest`.`PORTION` AS `PORTION`,
	`abtest_a_btest`.`MIN_AMOUNT` AS `MIN_AMOUNT`,
	`abtest_a_btest`.`USER_ID` AS `USER_ID`,
	`abtest_a_btest`.`SORT` AS `SORT`
FROM `b_abtest` `abtest_a_btest` 

WHERE UPPER(`abtest_a_btest`.`SITE_ID`) like upper('s2')
AND UPPER(`abtest_a_btest`.`ACTIVE`) like upper('Y')
AND `abtest_a_btest`.`START_DATE` <= '2024-11-09 21:49:46'
ORDER BY `abtest_a_btest`.`SORT` ASC
/var/www/html/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/var/www/html/bitrix/modules/main/lib/db/connection.php:329
#1: Bitrix\Main\DB\Connection->query(string)
	/var/www/html/bitrix/modules/main/lib/entity/query.php:1924
#2: Bitrix\Main\Entity\Query->query(string)
	/var/www/html/bitrix/modules/main/lib/entity/query.php:505
#3: Bitrix\Main\Entity\Query->exec()
	/var/www/html/bitrix/modules/main/lib/entity/datamanager.php:255
#4: Bitrix\Main\Entity\DataManager::getList(array)
	/var/www/html/bitrix/modules/abtest/lib/helper.php:40
#5: Bitrix\ABTest\Helper::getActiveTest()
	/var/www/html/bitrix/modules/abtest/lib/helper.php:125
#6: Bitrix\ABTest\Helper::getContext()
	/var/www/html/bitrix/modules/abtest/lib/eventhandler.php:37
#7: Bitrix\ABTest\EventHandler::onGetCurrentSiteTemplate(object)
	
#8: call_user_func_array(array, array)
	/var/www/html/bitrix/modules/main/lib/eventmanager.php:442
#9: Bitrix\Main\EventManager->sendToEventHandler(array, object)
	/var/www/html/bitrix/modules/main/lib/eventmanager.php:378
#10: Bitrix\Main\EventManager->send(object)
	/var/www/html/bitrix/modules/main/lib/event.php:112
#11: Bitrix\Main\Event->send()
	/var/www/html/bitrix/modules/main/classes/general/main.php:4635
#12: CAllSite::GetCurTemplate()
	/var/www/html/bitrix/modules/main/include.php:542
#13: require_once(string)
	/var/www/html/bitrix/modules/main/include/prolog_before.php:14
#14: require_once(string)
	/var/www/html/bitrix/click.php:3