[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT * FROM b_module_to_module WHERE FROM_MODULE_ID='main'	AND MESSAGE_ID='OnEndBufferContent' 	AND TO_MODULE_ID='bitrixcloud' 	AND TO_CLASS='CBitrixCloudCDN' 	AND TO_METHOD='OnEndBufferContent'
/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:330
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/www/bitrix/modules/ammina.optimizer/include.php:1193
#2: CAmminaOptimizer::doCheckCDN()
	/home/bitrix/www/bitrix/modules/ammina.optimizer/lib/core2/application.php:214
#3: Ammina\Optimizer\Core2\Application->__construct()
	/home/bitrix/www/bitrix/modules/ammina.optimizer/lib/core2/application.php:134
#4: Ammina\Optimizer\Core2\Application::getInstance()
	/home/bitrix/www/bitrix/modules/ammina.optimizer/include.php:193
#5: CAmminaOptimizer::OnPageStart()
	/home/bitrix/www/bitrix/modules/main/classes/general/module.php:480
#6: ExecuteModuleEventEx(array)
	/home/bitrix/www/bitrix/modules/main/include.php:292
#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/sale/index.php:32
#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