[intec\core\db\Exception] 
SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
The SQL being executed was: SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'regionality_sites_settings' AND kcu.table_name = 'regionality_sites_settings' (0)
/home/bitrix/ext_www/vdohvgorod.ru/bitrix/modules/intec.core/classes/db/Schema.php:560
#0: intec\core\db\Schema->convertException(object, string)
	/home/bitrix/ext_www/vdohvgorod.ru/bitrix/modules/intec.core/classes/db/Command.php:735
#1: intec\core\db\Command->queryInternal(string, NULL)
	/home/bitrix/ext_www/vdohvgorod.ru/bitrix/modules/intec.core/classes/db/Command.php:280
#2: intec\core\db\Command->queryAll()
	/home/bitrix/ext_www/vdohvgorod.ru/bitrix/modules/intec.core/classes/db/mysql/Schema.php:264
#3: intec\core\db\mysql\Schema->findConstraints(object)
	/home/bitrix/ext_www/vdohvgorod.ru/bitrix/modules/intec.core/classes/db/mysql/Schema.php:93
#4: intec\core\db\mysql\Schema->loadTableSchema(string)
	/home/bitrix/ext_www/vdohvgorod.ru/bitrix/modules/intec.core/classes/db/Schema.php:134
#5: intec\core\db\Schema->getTableSchema(string)
	/home/bitrix/ext_www/vdohvgorod.ru/bitrix/modules/intec.core/classes/db/ActiveRecord.php:168
#6: intec\core\db\ActiveRecord::getTableSchema()
	/home/bitrix/ext_www/vdohvgorod.ru/bitrix/modules/intec.core/classes/db/ActiveRecord.php:183
#7: intec\core\db\ActiveRecord::primaryKey()
	/home/bitrix/ext_www/vdohvgorod.ru/bitrix/modules/intec.core/classes/db/ActiveRecord.php:76
#8: intec\core\db\ActiveRecord::findByCondition(string)
	/home/bitrix/ext_www/vdohvgorod.ru/bitrix/modules/intec.core/classes/db/ActiveRecordBase.php:115
#9: intec\core\db\ActiveRecordBase::findOne(string)
	/home/bitrix/ext_www/vdohvgorod.ru/bitrix/modules/intec.core/classes/db/ActiveRecord.php:513
#10: intec\core\db\ActiveRecord::findOne(string)
	/home/bitrix/ext_www/vdohvgorod.ru/bitrix/modules/intec.regionality/classes/models/SiteSettings.php:94
#11: intec\regionality\models\SiteSettings::get()
	/home/bitrix/ext_www/vdohvgorod.ru/bitrix/modules/intec.regionality/classes/models/SiteSettings.php:113
#12: intec\regionality\models\SiteSettings::getCurrent()
	/home/bitrix/ext_www/vdohvgorod.ru/bitrix/modules/intec.regionality/classes/Callbacks.php:114
#13: intec\regionality\Callbacks::mainOnProlog()
	/home/bitrix/ext_www/vdohvgorod.ru/bitrix/modules/main/classes/general/module.php:490
#14: ExecuteModuleEventEx(array)
	/home/bitrix/ext_www/vdohvgorod.ru/bitrix/modules/main/classes/general/main.php:3485
#15: CAllMain::PrologActions()
	/home/bitrix/ext_www/vdohvgorod.ru/bitrix/modules/main/include/prolog_before.php:16
#16: require_once(string)
	/home/bitrix/ext_www/vdohvgorod.ru/bitrix/modules/main/include/prolog.php:10
#17: require_once(string)
	/home/bitrix/ext_www/vdohvgorod.ru/bitrix/header.php:1
#18: require(string)
	/home/bitrix/ext_www/vdohvgorod.ru/company/actions/index.php:4

Fatal error: Uncaught Bitrix\Main\DB\SqlQueryException: Mysql query error: (2006) MySQL server has gone away in /home/bitrix/ext_www/vdohvgorod.ru/bitrix/modules/main/lib/db/mysqliconnection.php:137 Stack trace: #0 /home/bitrix/ext_www/vdohvgorod.ru/bitrix/modules/main/lib/db/connection.php(330): Bitrix\Main\DB\MysqliConnection->queryInternal('SELECT \n\t`main_...', Array, NULL) #1 /home/bitrix/ext_www/vdohvgorod.ru/bitrix/modules/main/lib/orm/query/query.php(3304): Bitrix\Main\DB\Connection->query('SELECT \n\t`main_...') #2 /home/bitrix/ext_www/vdohvgorod.ru/bitrix/modules/main/lib/orm/query/query.php(816): Bitrix\Main\ORM\Query\Query->query('SELECT \n\t`main_...') #3 /home/bitrix/ext_www/vdohvgorod.ru/bitrix/modules/main/lib/orm/data/datamanager.php(500): Bitrix\Main\ORM\Query\Query->exec() #4 /home/bitrix/ext_www/vdohvgorod.ru/bitrix/modules/main/lib/analytics/sitespeed.php(95): Bitrix\Main\ORM\Data\DataManager::getList(Array) #5 /home/bitrix/ext_www/vdohvgorod.ru/bitrix/modules/main/lib/analytics/counter.php(92): Bitr in /home/bitrix/ext_www/vdohvgorod.ru/bitrix/modules/main/lib/db/mysqliconnection.php on line 137