[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)

				SELECT FROM_MODULE_ID, MESSAGE_ID, SORT, TO_MODULE_ID, TO_PATH,
					TO_CLASS, TO_METHOD, TO_METHOD_ARG, VERSION
				FROM b_module_to_module m2m
					INNER JOIN b_module m ON (m2m.TO_MODULE_ID = m.ID)
				ORDER BY SORT
			
/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/main/lib/eventmanager.php:230
#2: Bitrix\Main\EventManager->loadEventHandlers
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/main/lib/eventmanager.php:333
#3: Bitrix\Main\EventManager->findEventHandlers
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/main/classes/general/module.php:330
#4: GetModuleEvents
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/main/include.php:192
#5: require_once(string)
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/modules/main/include/prolog_before.php:14
#6: require(string)
	/home/kanzoptima/web/kanzoptima.ru/public_html/bitrix/tools/captcha.php:8