Fixed Undefined index: share_privacy

DOA

Member
Hi, one of our members generated this error with 2.5.2 b version, I'll leave here for investigation :cool:

Code:
Error Info
ErrorException: Undefined index: share_privacy - library/Nobita/Teams/Model/Post.php:560
Generated By: Airbornemama, Today at 7:29 AM
Stack Trace
#0 /forum/library/Nobita/Teams/Model/Post.php(560): XenForo_Application::handlePhpError(8, 'Undefined index...', '/srv/www/ggforu...', 560, Array)
#1 /forum/library/Nobita/Teams/Model/Post.php(580): Nobita_Teams_Model_Post->canViewPost(Array, Array, Array, NULL, Array)
#2 /forum/library/Nobita/Teams/Model/Comment.php(438): Nobita_Teams_Model_Post->canViewPostAndContainer(Array, Array, Array, NULL, Array)
#3 /forum/library/Nobita/Teams/Search/DataHandler/Comment.php(100): Nobita_Teams_Model_Comment->canViewComment(Array, Array, Array, NULL, Array)
#4 /forum/library/XenForo/Model/Search.php(300): Nobita_Teams_Search_DataHandler_Comment->canViewResult(Array, Array)
#5 /forum/library/XenForo/Model/Search.php(359): XenForo_Model_Search->getViewableSearchResultData(Array, Array, true, Array)
#6 /forum/library/XenForo/ControllerPublic/Member.php(703): XenForo_Model_Search->getSearchResultsForDisplay(Array)
#7 /forum/library/XenForo/FrontController.php(351): XenForo_ControllerPublic_Member->actionRecentContent()
#8 /forum/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#9 /forum/index.php(13): XenForo_FrontController->run()
#10 {main}
Request State
array(3) {
  ["url"] => string(225) "http://forum.example.com/members/airbornemama.16932/recent-content?_xfRequestUri=%2Fmembers%2Fairbornemama.16932%2F&_xfNoRedirect=1&_xfToken=16932%2C1457123367%2C6a4a8e6a4f68034adafc041aca8f0cb53e93c7b2&_xfResponseType=json"
  ["_GET"] => array(5) {
    ["/members/airbornemama_16932/recent-content"] => string(0) ""
    ["_xfRequestUri"] => string(28) "/members/airbornemama.16932/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(57) "16932,1457123367,6a4a8e6a4f68034adafc041aca8f0cb53e93c7b2"
    ["_xfResponseType"] => string(4) "json"
  }
  ["_POST"] => array(0) {
  }
}
 
Does it happen in 2.5.2 d? I tried but still working fine.
 
I haven't seen it appear with the newer version but I will let you know if it appears again.
 
Back
Top