[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (1213) Deadlock found when trying to get lock; try restarting transaction (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', 'OnSaleComponentOrderOneStepPaySystem', 'tcsbank.kupivkredit',    'CTCSBank', 'CheckPaySystem', '', '', 1, '44cc94525a42059941d1aa79a12258d9')
/var/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/var/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string, NULL)
	/var/bitrix/modules/main/lib/db/connection.php:379
#2: Bitrix\Main\DB\Connection->queryExecute(string)
	/var/bitrix/modules/main/lib/eventmanager.php:183
#3: Bitrix\Main\EventManager->registerEventHandlerInternal(string, string, string, string, string, integer, string, string, integer)
	/var/bitrix/modules/main/lib/eventmanager.php:157
#4: Bitrix\Main\EventManager->registerEventHandlerCompatible(string, string, string, string, string, integer, string, array)
	/var/bitrix/modules/main/classes/general/module.php:497
#5: RegisterModuleDependences(string, string, string, string, string)
	/var/bitrix/modules/tcsbank.kupivkredit/general/tcsbank.php:16
#6: CTCSBank->CTCSBank()
	/var/bitrix/modules/tcsbank.kupivkredit/general/tcsbank.php:788
#7: CTCSBank::OnEndBufferContent(string)
	/var/bitrix/modules/main/classes/general/module.php:480
#8: ExecuteModuleEventEx(array, array)
	/var/bitrix/modules/main/classes/general/main.php:3195
#9: CAllMain->EndBufferContent(string)
	/var/bitrix/modules/main/classes/general/main.php:3143
#10: CAllMain->EndBufferContentMan()
	/var/bitrix/modules/main/include/epilog_after.php:39
#11: require(string)
	/var/bitrix/modules/main/include/epilog.php:3
#12: require_once(string)
	/var/bitrix/footer.php:5
#13: require(string)
	/var/www/www-root/data/www/velogo.ru/pitbayki/.detail.bottom.php:20
#14: include(string)
	/var/bitrix/modules/main/classes/general/main.php:1361
#15: CAllMain->IncludeFile(string, array, array)
	/var/bitrix/templates/velonew/components/bitrix/catalog/catalog1/sections.php:200
#16: include(string)
	/var/bitrix/modules/main/classes/general/component_template.php:789
#17: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/var/bitrix/modules/main/classes/general/component_template.php:884
#18: CBitrixComponentTemplate->IncludeTemplate(array)
	/var/bitrix/modules/main/classes/general/component.php:764
#19: CBitrixComponent->showComponentTemplate()
	/var/bitrix/modules/main/classes/general/component.php:712
#20: CBitrixComponent->includeComponentTemplate(string)
	/var/bitrix/components/bitrix/catalog/component.php:172
#21: include(string)
	/var/bitrix/modules/main/classes/general/component.php:605
#22: CBitrixComponent->__includeComponent()
	/var/bitrix/modules/main/classes/general/component.php:680
#23: CBitrixComponent->includeComponent(string, array, boolean, boolean)
	/var/bitrix/modules/main/classes/general/main.php:1039
#24: CAllMain->IncludeComponent(string, string, array, boolean)
	/var/www/www-root/data/www/velogo.ru/pitbayki/index.php:257
#25: include_once(string)
	/var/bitrix/modules/main/include/urlrewrite.php:159
#26: include_once(string)
	/var/bitrix/urlrewrite.php:2