[Error] 
Call to a member function toArray() on null (0)
/home/bitrix/ext_www/mcrm.ru/local/php_interface/classes/Mcrm/Controller/Patients/Consult/ConsultController.php:272
#0: Mcrm\Controller\Patients\Consult\ConsultController::detail()
	/home/bitrix/ext_www/mcrm.ru/patients/consult/detail.php:9
#1: include_once(string)
	/home/bitrix/ext_www/mcrm.ru/local/php_interface/include/urlrewrite.php:178
#2: include_once(string)
	/home/bitrix/ext_www/mcrm.ru/bitrix/urlrewrite.php:4