[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT ID FROM b_module ORDER BY ID
/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/main/lib/modulemanager.php:20
#2: Bitrix\Main\ModuleManager::getInstalledModules
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/main/lib/modulemanager.php:63
#3: Bitrix\Main\ModuleManager::isModuleInstalled
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/main/lib/composite/engine.php:1243
#4: Bitrix\Main\Composite\Engine::isSelfHostedPortal
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/main/lib/composite/engine.php:1129
#5: Bitrix\Main\Composite\Engine::shouldBeEnabled
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/main/include.php:472
#6: require_once(string)
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/main/include/prolog_before.php:14
#7: require(string)
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/tools/captcha.php:8