[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SET collation_connection = "utf8_unicode_ci"
/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, NULL)
	/home/bitrix/www/bitrix/modules/main/lib/db/connection.php:379
#2: Bitrix\Main\DB\Connection->queryExecute(string)
	/home/bitrix/www/bitrix/php_interface/after_connect_d7.php:4
#3: include(string)
	/home/bitrix/www/bitrix/modules/main/lib/db/connection.php:921
#4: Bitrix\Main\DB\Connection->afterConnected()
	/home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php:81
#5: Bitrix\Main\DB\MysqliConnection->connectInternal()
	/home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php:122
#6: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/bitrix/www/bitrix/modules/main/lib/db/connection.php:330
#7: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/www/bitrix/modules/ammina.optimizer/include.php:1193
#8: CAmminaOptimizer::doCheckCDN()
	/home/bitrix/www/bitrix/modules/ammina.optimizer/lib/core2/application.php:214
#9: Ammina\Optimizer\Core2\Application->__construct()
	/home/bitrix/www/bitrix/modules/ammina.optimizer/lib/core2/application.php:134
#10: Ammina\Optimizer\Core2\Application::getInstance()
	/home/bitrix/www/bitrix/modules/ammina.optimizer/include.php:193
#11: CAmminaOptimizer::OnPageStart()
	/home/bitrix/www/bitrix/modules/main/classes/general/module.php:490
#12: ExecuteModuleEventEx(array)
	/home/bitrix/www/bitrix/modules/main/include.php:284
#13: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog_before.php:14
#14: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog.php:10
#15: require_once(string)
	/home/bitrix/www/bitrix/header.php:1
#16: require(string)
	/home/bitrix/www/catalog/index.php:1
#17: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#18: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2