• 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 No Answer Server error

EazyEazy

Member
Joined
Mar 6, 2018
Messages
59
As per the title. This keeps appearing in my error log:

Code:
    ErrorException: [E_NOTICE] Undefined offset: 16 src/addons/XFA/Tournament/Entity/Bracket.php:178

    Generated by: ******* Apr 19, 2019 at 8:32 PM

Stack trace

#0 src/addons/XFA/Tournament/Entity/Bracket.php(178): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/absolute/...', 178, Array)
#1 src/addons/XFA/Tournament/Entity/Tournament.php(622): XFA\Tournament\Entity\Bracket->findPendingMatchInfoForParticipantInSingleEliminationBracket(Object(XFA\Tournament\Entity\Participant), 0)
#2 src/addons/XFA/Tournament/Pub/Controller/Tournament.php(196): XFA\Tournament\Entity\Tournament->findPendingMatchesInfoForParticipant(Object(XFA\Tournament\Entity\Participant), Object(XF\Mvc\Entity\ArrayCollection))
#3 src/XF/Mvc/Dispatcher.php(321): XFA\Tournament\Pub\Controller\Tournament->actionView(Object(XF\Mvc\ParameterBag))
#4 src/XF/Mvc/Dispatcher.php(244): XF\Mvc\Dispatcher->dispatchClass('XFA\\Tournament\\...', 'View', Object(XF\Mvc\RouteMatch), Object(XFA\Tournament\Pub\Controller\Tournament), Object(XF\Mvc\Reply\Reroute))
#5 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XFA\Tournament\Pub\Controller\Tournament), Object(XF\Mvc\Reply\Reroute))
#6 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#7 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#8 src/XF.php(390): XF\App->run()
#9 index.php(20): XF::runApp('XF\\Pub\\App')
#10 {main}

Request state

array(4) {
  ["url"] => string(66) "/community/index.php?tournaments/fantasy-league-cup-season-26.209/"
  ["referrer"] => string(48) "https://**************/community/index.php"
  ["_GET"] => array(1) {
    ["tournaments/fantasy-league-cup-season-26_209/"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
 

MtoR

Freaky Coder
Staff member
Joined
Nov 14, 2015
Messages
4,119
This would mean an opponent is missing that's odd.
I am wondering, does that tournament has BYE ?
 

EazyEazy

Member
Joined
Mar 6, 2018
Messages
59
This would mean an opponent is missing that's odd.
I am wondering, does that tournament has BYE ?
No its a 32 man tournament. One of my admins set it up but one thing that sticks out now you say that. Its a 32 man single elimination. I could be wrong but i think the admin set it up as 64 and is using 32. See screenshot

error.png
 

EazyEazy

Member
Joined
Mar 6, 2018
Messages
59
Ill update this. Had another error tonight in a tournament I set up. It was set up correctly.

Code:
    ErrorException: [E_NOTICE] Undefined offset: 14 src/addons/XFA/Tournament/Entity/Bracket.php:178

    Generated by: ***** Apr 20, 2019 at 11:02 PM

Stack trace

#0 src/addons/XFA/Tournament/Entity/Bracket.php(178): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/absolute/...', 178, Array)
#1 src/addons/XFA/Tournament/Entity/Tournament.php(622): XFA\Tournament\Entity\Bracket->findPendingMatchInfoForParticipantInSingleEliminationBracket(Object(XFA\Tournament\Entity\Participant), 0)
#2 src/addons/XFA/Tournament/Pub/Controller/Tournament.php(196): XFA\Tournament\Entity\Tournament->findPendingMatchesInfoForParticipant(Object(XFA\Tournament\Entity\Participant), Object(XF\Mvc\Entity\ArrayCollection))
#3 src/XF/Mvc/Dispatcher.php(321): XFA\Tournament\Pub\Controller\Tournament->actionView(Object(XF\Mvc\ParameterBag))
#4 src/XF/Mvc/Dispatcher.php(244): XF\Mvc\Dispatcher->dispatchClass('XFA\\Tournament\\...', 'View', Object(XF\Mvc\RouteMatch), Object(XFA\Tournament\Pub\Controller\Tournament), Object(XF\Mvc\Reply\Reroute))
#5 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XFA\Tournament\Pub\Controller\Tournament), Object(XF\Mvc\Reply\Reroute))
#6 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#7 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#8 src/XF.php(390): XF\App->run()
#9 index.php(20): XF::runApp('XF\\Pub\\App')
#10 {main}

Request state

array(4) {
  ["url"] => string(67) "/community/index.php?tournaments/saturday-tournament-scum-bags.225/"
  ["referrer"] => bool(false)
  ["_GET"] => array(1) {
    ["tournaments/saturday-tournament-scum-bags_225/"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
 

MtoR

Freaky Coder
Staff member
Joined
Nov 14, 2015
Messages
4,119
Please send me a link with a test account.
 

MtoR

Freaky Coder
Staff member
Joined
Nov 14, 2015
Messages
4,119
I would need to know for which user the error appeared in which tournament and at which match he was
 

EazyEazy

Member
Joined
Mar 6, 2018
Messages
59
This error is still appearing. Sorry for the delay. Its only on single elimination and generate the following error.

Code:
    ErrorException: [E_NOTICE] Undefined offset: 40 src/addons/XFA/Tournament/Entity/Bracket.php:178

    Generated by: *********** Jul 15, 2019 at 2:51 PM

Stack trace

#0 src/addons/XFA/Tournament/Entity/Bracket.php(178): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/absolute/...', 178, Array)
#1 src/addons/XFA/Tournament/Entity/Tournament.php(622): XFA\Tournament\Entity\Bracket->findPendingMatchInfoForParticipantInSingleEliminationBracket(Object(XFA\Tournament\Entity\Participant), 0)
#2 src/addons/XFA/Tournament/Pub/Controller/Tournament.php(196): XFA\Tournament\Entity\Tournament->findPendingMatchesInfoForParticipant(Object(XFA\Tournament\Entity\Participant), Object(XF\Mvc\Entity\ArrayCollection))
#3 src/XF/Mvc/Dispatcher.php(321): XFA\Tournament\Pub\Controller\Tournament->actionView(Object(XF\Mvc\ParameterBag))
#4 src/XF/Mvc/Dispatcher.php(244): XF\Mvc\Dispatcher->dispatchClass('XFA\\Tournament\\...', 'View', Object(XF\Mvc\RouteMatch), Object(XFA\Tournament\Pub\Controller\Tournament), Object(XF\Mvc\Reply\Reroute))
#5 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XFA\Tournament\Pub\Controller\Tournament), Object(XF\Mvc\Reply\Reroute))
#6 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#7 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#8 src/XF.php(390): XF\App->run()
#9 index.php(20): XF::runApp('XF\\Pub\\App')
#10 {main}

Request state

array(4) {
  ["url"] => string(58) "/community/index.php?tournaments/season-27-league-cup.286/"
  ["referrer"] => string(48) "https://absolutegaming.co.uk/community/index.php"
  ["_GET"] => array(1) {
    ["tournaments/season-27-league-cup_286/"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
 

MtoR

Freaky Coder
Staff member
Joined
Nov 14, 2015
Messages
4,119
Hi,

Hard to get back at you on a bug that was reported in April and without feedback since then.

Like that I am barely unable to identify the issue if I am not able to reproduce.

Clément
 

EazyEazy

Member
Joined
Mar 6, 2018
Messages
59
Hi,

Hard to get back at you on a bug that was reported in April and without feedback since then.

Like that I am barely unable to identify the issue if I am not able to reproduce.

Clément
Hence why I posted another error so we could come back to this and solve the issue. Its clearly coming from your resource. Can we get this resolved?
 

MtoR

Freaky Coder
Staff member
Joined
Nov 14, 2015
Messages
4,119
You only get it for that one tournament or for others ?
 

MtoR

Freaky Coder
Staff member
Joined
Nov 14, 2015
Messages
4,119
I would need to get admin and ftp access to try to debug.
 

EazyEazy

Member
Joined
Mar 6, 2018
Messages
59
Any feedbacks ?
Ive been away on holiday.

I have now renewed my license and updated to the recent version you released. Not sure if that will make any difference but please leave this ticket open and ill feedback if any issue crop up.
 

MtoR

Freaky Coder
Staff member
Joined
Nov 14, 2015
Messages
4,119
Sure ! I thought you were running the latest version.