[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('s1')
AND UPPER(`abtest_a_btest`.`ACTIVE`) like upper('Y')
AND `abtest_a_btest`.`START_DATE` <= '2024-11-22 07:40:08'
ORDER BY `SORT` ASC
/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/orm/query/query.php:3398
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/orm/query/query.php:825
#3: Bitrix\Main\ORM\Query\Query->exec()
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/orm/data/datamanager.php:500
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/abtest/lib/helper.php:39
#5: Bitrix\ABTest\Helper::getActiveTest()
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/abtest/lib/helper.php:126
#6: Bitrix\ABTest\Helper::getContext()
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/abtest/lib/eventhandler.php:37
#7: Bitrix\ABTest\EventHandler::onGetCurrentSiteTemplate(object)
	
#8: call_user_func_array(array, array)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/eventmanager.php:435
#9: Bitrix\Main\EventManager->sendToEventHandler(array, object)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/eventmanager.php:371
#10: Bitrix\Main\EventManager->send(object)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/event.php:142
#11: Bitrix\Main\Event->send()
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/main.php:4529
#12: CAllSite::GetCurTemplate()
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/include.php:535
#13: require_once(string)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/include/prolog_before.php:14
#14: require_once(string)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/include/prolog.php:9
#15: require_once(string)
	/var/www/www-root/data/www/server-expert.com/bitrix/header.php:1
#16: require(string)
	/var/www/www-root/data/www/server-expert.com/auth/index.php:3