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