[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)

				SELECT NAME, VALUE 
				FROM b_option 
				WHERE MODULE_ID = 'sale' 
			
/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/config/option.php:196
#2: Bitrix\Main\Config\Option::load(string)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/config/option.php:38
#3: Bitrix\Main\Config\Option::get(string, string, string, boolean)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/option.php:30
#4: CAllOption::GetOptionString(string, string, string)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/sale/affiliate.php:2
#5: include_once(string)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/module.php:443
#6: ExecuteModuleEventEx(array)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/include.php:571
#7: require_once(string)
	/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/include/prolog_before.php:14
#8: require(string)
	/var/www/www-root/data/www/server-expert.com/bitrix/tools/captcha.php:8