[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 'x' FROM b_module_to_module WHERE FROM_MODULE_ID='sale'	AND MESSAGE_ID='OnSaleOrderPaid' 	AND TO_MODULE_ID='dw.deluxe' 	AND TO_CLASS='DwBonus' 	AND TO_METHOD='addBonus' AND (TO_PATH='' OR TO_PATH IS NULL) AND (TO_METHOD_ARG='' OR TO_METHOD_ARG IS NULL)
/home/bitrix/ext_www/electrodom.by/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/bitrix/ext_www/electrodom.by/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/ext_www/electrodom.by/bitrix/modules/main/lib/eventmanager.php:186
#2: Bitrix\Main\EventManager->registerEventHandlerInternal(string, string, string, string, string, integer, string, string, integer)
	/home/bitrix/ext_www/electrodom.by/bitrix/modules/main/lib/eventmanager.php:152
#3: Bitrix\Main\EventManager->registerEventHandler(string, string, string, string, string)
	/home/bitrix/ext_www/electrodom.by/bitrix/modules/dw.deluxe/include.php:22
#4: include_once(string)
	/home/bitrix/ext_www/electrodom.by/bitrix/modules/main/lib/loader.php:140
#5: Bitrix\Main\Loader::includeModuleInternal(string)
	/home/bitrix/ext_www/electrodom.by/bitrix/modules/main/lib/loader.php:107
#6: Bitrix\Main\Loader::includeModule(string)
	/home/bitrix/ext_www/electrodom.by/bitrix/modules/main/classes/general/module.php:261
#7: CModule::IncludeModule(string)
	/home/bitrix/ext_www/electrodom.by/bitrix/modules/main/classes/general/module.php:444
#8: ExecuteModuleEventEx(array, array)
	/home/bitrix/ext_www/electrodom.by/bitrix/modules/main/classes/general/main.php:3191
#9: CAllMain->EndBufferContent(string)
	/home/bitrix/ext_www/electrodom.by/bitrix/modules/main/classes/general/main.php:3139
#10: CAllMain->EndBufferContentMan()
	/home/bitrix/ext_www/electrodom.by/bitrix/modules/main/include/epilog_after.php:36
#11: require(string)
	/home/bitrix/ext_www/electrodom.by/bitrix/modules/main/include/epilog.php:3
#12: require_once(string)
	/home/bitrix/ext_www/electrodom.by/bitrix/footer.php:4
#13: require(string)
	/home/bitrix/ext_www/domsveta.by/catalog/index.php:709
#14: include_once(string)
	/home/bitrix/ext_www/electrodom.by/bitrix/modules/main/include/urlrewrite.php:159
#15: include_once(string)
	/home/bitrix/ext_www/electrodom.by/bitrix/urlrewrite.php:2