[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, 'main', 'OnPageStart', 'tcsbank.kupivkredit',    'CTCSBank', 'ShowUserScripts', '', '', 1, '373e90b1644925749cd01799fbbfb5cb')
/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:15
#6: CTCSBank->CTCSBank()
	/var/bitrix/modules/tcsbank.kupivkredit/general/tcsbank.php:127
#7: CTCSBank::ShowUserScripts()
	/var/bitrix/modules/main/classes/general/module.php:480
#8: ExecuteModuleEventEx(array)
	/var/bitrix/modules/main/include.php:291
#9: require_once(string)
	/var/bitrix/modules/main/include/prolog_before.php:14
#10: require_once(string)
	/var/bitrix/modules/main/include/prolog.php:10
#11: require_once(string)
	/var/bitrix/header.php:2
#12: require(string)
	/var/www/www-root/data/www/velogo.ru/private/cart/index.php:2