[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 'x' FROM b_option WHERE SITE_ID IS NULL AND MODULE_ID = 'catalog' AND NAME = 'DEFAULT_SKIP_SOURCE_CHECK'
LIMIT 0, 1

/home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, NULL, NULL)
	/home/bitrix/www/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string, NULL, integer, integer)
	/home/bitrix/www/bitrix/modules/main/lib/db/connection.php:358
#2: Bitrix\Main\DB\Connection->queryScalar(string)
	/home/bitrix/www/bitrix/modules/main/lib/config/option.php:281
#3: Bitrix\Main\Config\Option::set(string, string, string, string)
	/home/bitrix/www/bitrix/modules/main/classes/general/option.php:42
#4: CAllOption::SetOptionString(string, string, string)
	/home/bitrix/www/bitrix/php_interface/init.php:605
#5: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include.php:234
#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