При отправке сообщения выскакивает следующая ошибка
Fatal error: Call to undefined method CBlogPost::NotifyMail() in /home/bitrix/www/bitrix/components/bitrix/socialnetwork.blog.post.edit/component.php on line 1641
но сообщение доходит
Вчем может быть проблема?
Спасибо
if (!empty($arUserIdToMail))
{
CBlogPost::NotifyMail(array(
"type" => "POST",
"siteId" => SITE_ID,
"userId" => $arUserIdToMail,
"authorId" => $arParams["USER_ID"],
"postId" => $newID,
"postUrl" => CComponentEngine::MakePathFromTemplate(
'/pub/post.php?post_id=#post_id#',
array(
"post_id"=> $newID
)
Fatal error: Call to undefined method CBlogPost::NotifyMail() in /home/bitrix/www/bitrix/components/bitrix/socialnetwork.blog.post.edit/component.php on line 1641
но сообщение доходит
Вчем может быть проблема?
Спасибо
if (!empty($arUserIdToMail))
{
CBlogPost::NotifyMail(array(
"type" => "POST",
"siteId" => SITE_ID,
"userId" => $arUserIdToMail,
"authorId" => $arParams["USER_ID"],
"postId" => $newID,
"postUrl" => CComponentEngine::MakePathFromTemplate(
'/pub/post.php?post_id=#post_id#',
array(
"post_id"=> $newID
)