[TypeError] 
Argument 1 passed to canParticipantDoIt() must be of the type integer, null given, called in /home/bitrix/voench.ru/local/templates/voenchast/components/bitrix/socialnetwork.blog.post.edit/user_blog/template.php on line 385 (0)
/home/bitrix/voench.ru/local/php_interface/functions.php:513
#0: canParticipantDoIt(NULL, integer, string)
	/home/bitrix/voench.ru/local/templates/voenchast/components/bitrix/socialnetwork.blog.post.edit/user_blog/template.php:385
#1: include(string)
	/home/bitrix/voench.ru/bitrix/modules/main/classes/general/component_template.php:714
#2: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/home/bitrix/voench.ru/bitrix/modules/main/classes/general/component_template.php:806
#3: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/bitrix/voench.ru/bitrix/modules/main/classes/general/component.php:681
#4: CBitrixComponent->showComponentTemplate()
	/home/bitrix/voench.ru/bitrix/modules/main/classes/general/component.php:629
#5: CBitrixComponent->includeComponentTemplate()
	/home/bitrix/voench.ru/bitrix/components/bitrix/socialnetwork.blog.post.edit/component.php:2304
#6: include(string)
	/home/bitrix/voench.ru/bitrix/modules/main/classes/general/component.php:548
#7: CBitrixComponent->__includeComponent()
	/home/bitrix/voench.ru/bitrix/modules/main/classes/general/component.php:600
#8: CBitrixComponent->includeComponent(string, array, NULL)
	/home/bitrix/voench.ru/bitrix/modules/main/classes/general/main.php:1035
#9: CAllMain->IncludeComponent(string, string, array)
	/home/bitrix/voench.ru/test-a/index.php:13