[Bitrix\Main\DB\SqlQueryException]
Mysql query error: (2006) MySQL server has gone away (400)
INSERT IGNORE INTO b_module_to_module (SORT, FROM_MODULE_ID, MESSAGE_ID, TO_MODULE_ID, TO_CLASS, TO_METHOD, TO_PATH, TO_METHOD_ARG, VERSION, UNIQUE_ID) VALUES (100, 'main', 'OnEndBufferContent', 'dw.deluxe', 'DwBuffer', 'modifyBuffer', '', '', 2, '3c5bb69c13afb5a07d415bc1dae01993')
/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string, NULL)
/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/db/connection.php:379
#2: Bitrix\Main\DB\Connection->queryExecute(string)
/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/eventmanager.php:183
#3: Bitrix\Main\EventManager->registerEventHandlerInternal(string, string, string, string, string, integer, string, string, integer)
/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/eventmanager.php:152
#4: Bitrix\Main\EventManager->registerEventHandler(string, string, string, string, string)
/var/www/www-root/data/www/server-expert.com/bitrix/modules/dw.deluxe/include.php:19
#5: include_once(string)
/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/loader.php:177
#6: Bitrix\Main\Loader::includeModuleInternal(string)
/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/loader.php:137
#7: Bitrix\Main\Loader::includeModule(string)
/var/www/www-root/data/www/server-expert.com/bitrix/templates/dresscodeV2_copy/header.php:7
#8: include_once(string)
/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/include/prolog_after.php:106
#9: include(string)
/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/main.php:285
#10: CAllMain->AuthForm(boolean)
/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/include.php:606
#11: require_once(string)
/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/include/prolog_before.php:14
#12: require_once(string)
/var/www/www-root/data/www/server-expert.com/bitrix/modules/main/include/prolog.php:9
#13: require_once(string)
/var/www/www-root/data/www/server-expert.com/bitrix/header.php:1
#14: require(string)
/var/www/www-root/data/www/server-expert.com/auth/index.php:3
Fatal error: Uncaught Bitrix\Main\DB\SqlQueryException: Mysql query error: (2006) MySQL server has gone away in /var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/db/mysqliconnection.php:137
Stack trace:
#0 /var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/db/connection.php(330): Bitrix\Main\DB\MysqliConnection->queryInternal('\n\t\t\t\tSELECT FRO...', Array, NULL)
#1 /var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/eventmanager.php(230): Bitrix\Main\DB\Connection->query('\n\t\t\t\tSELECT FRO...')
#2 /var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/eventmanager.php(333): Bitrix\Main\EventManager->loadEventHandlers()
#3 /var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/module.php(330): Bitrix\Main\EventManager->findEventHandlers('main', 'OnBeforeEndBuff...')
#4 /var/www/www-root/data/www/server-expert.com/bitrix/modules/main/classes/general/main.php(3165): GetModuleEvents('main', 'OnBeforeEndBuff...', true)
#5 [inter in /var/www/www-root/data/www/server-expert.com/bitrix/modules/main/lib/db/mysqliconnection.php on line 137