[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT ID FROM b_module ORDER BY ID
/var/www/html/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/var/www/html/bitrix/modules/main/lib/db/connection.php:329
#1: Bitrix\Main\DB\Connection->query(string)
	/var/www/html/bitrix/modules/main/lib/modulemanager.php:20
#2: Bitrix\Main\ModuleManager::getInstalledModules()
	/var/www/html/bitrix/modules/main/lib/loader.php:77
#3: Bitrix\Main\Loader::includeModule(string)
	/var/www/html/local/php_interface/init.php:13
#4: include_once(string)
	/var/www/html/bitrix/modules/main/include.php:247
#5: require_once(string)
	/var/www/html/bitrix/modules/main/include/prolog_before.php:14
#6: require_once(string)
	/var/www/html/bitrix/modules/main/include/prolog.php:10
#7: require_once(string)
	/var/www/html/bitrix/header.php:1
#8: require(string)
	/var/www/html/shop/catalog/brands/index.php:9
#9: include_once(string)
	/var/www/html/bitrix/modules/main/include/urlrewrite.php:159
#10: include_once(string)
	/var/www/html/bitrix/urlrewrite.php:2