[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)

				SELECT NAME, VALUE 
				FROM b_option 
				WHERE MODULE_ID = 'socialnetwork' 
			
/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/main/lib/config/option.php:196
#2: Bitrix\Main\Config\Option::load(string)
	/home/bitrix/www/bitrix/modules/main/lib/config/option.php:38
#3: Bitrix\Main\Config\Option::get(string, string, string, boolean)
	/home/bitrix/www/bitrix/modules/main/classes/general/option.php:30
#4: CAllOption::GetOptionString(string, string, string)
	/home/bitrix/www/bitrix/modules/main/jscore.php:68
#5: require_once(string)
	/home/bitrix/www/bitrix/modules/main/tools.php:5101
#6: CJSCore::_RegisterStandardExt()
	/home/bitrix/www/bitrix/modules/main/tools.php:4590
#7: CJSCore::Init(array)
	/home/bitrix/www/bitrix/modules/main/lib/composite/engine.php:1197
#8: Bitrix\Main\Composite\Engine::shouldBeEnabled()
	/home/bitrix/www/bitrix/modules/main/include.php:567
#9: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog_before.php:14
#10: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog.php:10
#11: require_once(string)
	/home/bitrix/www/bitrix/header.php:1
#12: require(string)
	/home/bitrix/ext_www/s2/index.php:2
#13: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#14: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2