When adding a result to a league the following error occurs.
- Error: Call to a member function updateDiscussionThread() on null
- src/addons/XFA/Tournament/Entity/Tournament.php:1064
- Generated by: xxxxxxxxxxxxx
- Jan 24, 2025 at 10:39 AM
Stack trace
#0 src/XF/Mvc/Entity/Entity.php(1324): XFA\Tournament\Entity\Tournament->_postSave()
#1 src/addons/XFA/Tournament/Pub/Controller/Tournament.php(1574): XF\Mvc\Entity\Entity->save()
#2 src/XF/Mvc/Dispatcher.php(362): XFA\Tournament\Pub\Controller\Tournament->actionSaveScores(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(265): XF\Mvc\Dispatcher->dispatchClass('XFA\\Tournament:...', 'SaveScores', Object(XF\Mvc\RouteMatch), Object(XFA\Tournament\Pub\Controller\Tournament), NULL)
#4 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XFA\Tournament\Pub\Controller\Tournament), NULL)
#5 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(2826): XF\Mvc\Dispatcher->run()
#7 src/XF.php(806): XF\App->run()
#8 index.php(23): XF::runApp('XF\\Pub\\App')
#9 {main}
Request state
array(4) {
["url"] => string(81) "/community/index.php?tournaments/fantasy-champions-league-group-d.1529/saveScores"
["referrer"] => string(103) "https://xxxxxxxxxxxxxxxxxxxxxxxxxxx...aments/fantasy-champions-league-group-d.1529/"
["_GET"] => array(1) {
["tournaments/fantasy-champions-league-group-d_1529/saveScores"] => string(0) ""
}
["_POST"] => array(0) {
}
}