[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, 'sale', 'OnSalePayOrder', 'dw.deluxe',    'DwBonus', 'addBonus', '', '', 2, '034f353085e6c12fc079387f49e360e7')
/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, NULL)
	/home/bitrix/www/bitrix/modules/main/lib/db/connection.php:379
#2: Bitrix\Main\DB\Connection->queryExecute(string)
	/home/bitrix/www/bitrix/modules/main/lib/eventmanager.php:183
#3: Bitrix\Main\EventManager->registerEventHandlerInternal(string, string, string, string, string, integer, string, string, integer)
	/home/bitrix/www/bitrix/modules/main/lib/eventmanager.php:152
#4: Bitrix\Main\EventManager->registerEventHandler(string, string, string, string, string)
	/home/bitrix/www/bitrix/modules/dw.deluxe/include.php:17
#5: include_once(string)
	/home/bitrix/www/bitrix/modules/main/lib/loader.php:184
#6: Bitrix\Main\Loader::includeModuleInternal(string)
	/home/bitrix/www/bitrix/modules/main/lib/loader.php:140
#7: Bitrix\Main\Loader::includeModule(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/module.php:251
#8: CModule::IncludeModule(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/module.php:434
#9: ExecuteModuleEventEx(array, array)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:3219
#10: CAllMain->EndBufferContent(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:3167
#11: CAllMain->EndBufferContentMan()
	/home/bitrix/www/bitrix/modules/main/include/epilog_after.php:43
#12: require(string)
	/home/bitrix/www/bitrix/modules/main/include/epilog.php:3
#13: require_once(string)
	/home/bitrix/www/bitrix/footer.php:4
#14: require(string)
	/home/bitrix/www/parts/kuzov/index.php:1468
#15: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#16: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2