[Error] 
Call to a member function query() on resource (0)
/home/users/9/9268916861/domains/vetgrand.ru/bitrix/modules/main/lib/db/mysqliconnection.php:129
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/users/9/9268916861/domains/vetgrand.ru/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/home/users/9/9268916861/domains/vetgrand.ru/bitrix/modules/main/lib/orm/query/query.php:3304
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/home/users/9/9268916861/domains/vetgrand.ru/bitrix/modules/main/lib/orm/query/query.php:816
#3: Bitrix\Main\ORM\Query\Query->exec()
	/home/users/9/9268916861/domains/vetgrand.ru/bitrix/modules/main/lib/orm/data/datamanager.php:500
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/home/users/9/9268916861/domains/vetgrand.ru/bitrix/modules/socialservices/lib/ap.php:96
#5: Bitrix\Socialservices\ApTable::getConnection()
	/home/users/9/9268916861/domains/vetgrand.ru/bitrix/modules/b24connector/lib/connection.php:229
#6: Bitrix\B24Connector\Connection::getFields()
	/home/users/9/9268916861/domains/vetgrand.ru/bitrix/modules/b24connector/lib/helper.php:125
#7: Bitrix\B24Connector\Helper::onBeforeProlog()
	/home/users/9/9268916861/domains/vetgrand.ru/bitrix/modules/main/classes/general/module.php:490
#8: ExecuteModuleEventEx(array)
	/home/users/9/9268916861/domains/vetgrand.ru/bitrix/modules/main/include.php:577
#9: require_once(string)
	/home/users/9/9268916861/domains/vetgrand.ru/bitrix/modules/main/include/prolog_before.php:14
#10: require_once(string)
	/home/users/9/9268916861/domains/vetgrand.ru/bitrix/modules/main/include/prolog.php:10
#11: require_once(string)
	/home/users/9/9268916861/domains/vetgrand.ru/bitrix/header.php:1
#12: require(string)
	/home/users/9/9268916861/domains/vetgrand.ru/promo/index.php:2
#13: include_once(string)
	/home/users/9/9268916861/domains/vetgrand.ru/bitrix/modules/main/include/urlrewrite.php:159
#14: include_once(string)
	/home/users/9/9268916861/domains/vetgrand.ru/bitrix/urlrewrite.php:2