• We are aware that a no permission error was shown when you tried to purchase in the last 2 days, this is now fixed.

Bug Adding users to tournament fails

Frode Hanoy

New Member
Joined
Aug 19, 2018
Messages
23
Code:
Server error log
ErrorException: [E_NOTICE] Indirect modification of overloaded property XFA\Tournament\Entity\Tournament::$invites has no effect src/addons/XFA/Tournament/Entity/Participant.php:46
Generated by: Tex Nov 22, 2021 at 8:46 PM
Stack trace
#0 src/addons/XFA/Tournament/Entity/Participant.php(46): XF::handlePhpError(8, '[E_NOTICE] Indi...', '/home/boardga1/...', 46, Array)
#1 src/XF/Mvc/Entity/Entity.php(1268): XFA\Tournament\Entity\Participant->_postSave()
#2 src/addons/XFA/Tournament/Pub/Controller/Tournament.php(821): XF\Mvc\Entity\Entity->save()
#3 src/XF/Mvc/Dispatcher.php(352): XFA\Tournament\Pub\Controller\Tournament->actionAddUsers(Object(XF\Mvc\ParameterBag))
#4 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XFA\\Tournament:...', 'AddUsers', Object(XF\Mvc\RouteMatch), Object(XFA\Tournament\Pub\Controller\Tournament), NULL)
#5 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XFA\Tournament\Pub\Controller\Tournament), NULL)
#6 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#7 src/XF/App.php(2345): XF\Mvc\Dispatcher->run()
#8 src/XF.php(512): XF\App->run()
#9 index.php(20): XF::runApp('XF\\Pub\\App')
#10 {main}
Request state
array(4) {
  ["url"] => string(61) "********"
  ["referrer"] => string(84) "********"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(2) {
    ["usernames"] => string(6) "********"
    ["_xfToken"] => string(8) "********"
  }
}
When adding users to tournament, the auto-complete failed on several users (no suggestion came up when starting to type the user names, like it did when I added myself as the first entry). Also it then output errors in the log because of this: