Fixed Undefined index: member_role_id

Dadparvar

Active Member
Hi,

I'm getting too many of this error:
Code:
Server Error Log
Error Info
ErrorException: Undefined index: member_role_id - library/Nobita/Teams/Model/Post.php:683
Generated By: Hamed-Azimi, 4 minutes ago
Stack Trace
#0 /home/xenforo/domains/site.com/public_html/library/Nobita/Teams/Model/Post.php(683): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/xenforo/d...', 683, Array)
#1 /home/xenforo/domains/site.com/public_html/library/Nobita/Teams/Model/Post.php(327): Nobita_Teams_Model_Post->addInlineModOptionToPost(Array, Array, Array, Array)
#2 /home/xenforo/domains/site.com/public_html/library/Nobita/Teams/TeamNewsFeedHandler/Post.php(36): Nobita_Teams_Model_Post->preparePost(Array, Array, Array, Array)
#3 /home/xenforo/domains/site.com/public_html/library/Nobita/Teams/Model/NewsFeed.php(202): Nobita_Teams_TeamNewsFeedHandler_Post->prepareContent(Array, Array, Array)
#4 /home/xenforo/domains/site.com/public_html/library/Nobita/Teams/Model/NewsFeed.php(174): Nobita_Teams_Model_NewsFeed->_prepareNewsFeedItem(Array, Array)
#5 /home/xenforo/domains/site.com/public_html/library/Nobita/Teams/Model/NewsFeed.php(111): Nobita_Teams_Model_NewsFeed->_prepareNewsFeedItems(Array, Array)
#6 /home/xenforo/domains/site.com/public_html/library/Nobita/Teams/ControllerPublic/Ajax.php(25): Nobita_Teams_Model_NewsFeed->fillOutNewsFeedItems(Array)
#7 /home/xenforo/domains/site.com/public_html/library/XenForo/FrontController.php(351): Nobita_Teams_ControllerPublic_Ajax->actionNewsFeed()
#8 /home/xenforo/domains/site.com/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#9 /home/xenforo/domains/site.com/public_html/index.php(13): XenForo_FrontController->run()
#10 {main}
Request State
array(3) {
  ["url"] => string(58) "http://site.com/groups/ajax/news-feed?team_id=13"
  ["_GET"] => array(1) {
    ["team_id"] => string(2) "13"
  }
  ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(11) "/groups/13/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}

Regards
 
Back
Top