[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT ID FROM b_module ORDER BY ID
/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:329
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/www/bitrix/modules/main/lib/modulemanager.php:20
#2: Bitrix\Main\ModuleManager::getInstalledModules()
	/home/bitrix/www/bitrix/modules/main/lib/loader.php:77
#3: Bitrix\Main\Loader::includeModule(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/module.php:261
#4: CModule::IncludeModule(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/module.php:444
#5: ExecuteModuleEventEx(array)
	/home/bitrix/www/bitrix/modules/main/include.php:263
#6: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog_before.php:14
#7: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog.php:10
#8: require_once(string)
	/home/bitrix/www/bitrix/header.php:1
#9: require(string)
	/home/bitrix/www/catalog/index.php:2
#10: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#11: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2