• This area is dedicated to the support of our xF1 add-ons. For xF2, please use the dedicated area: HERE.
  • 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 Fixed Can't see participants (after moving database)

MattiGB

Member
Joined
Apr 2, 2016
Messages
118
Code:
An exception occurred: Argument 1 passed to XenForo_Template_Helper_Core::helperUserNameHtml() must be of the type array, null given, called in /vhosts/gamesboard.pl/web/library/XenForo/Template/Helper/Core.php on line 853 in /vhosts/gamesboard.pl/web/library/XenForo/Template/Helper/Core.php on line 1671

[LIST=1]
[*]XenForo_Template_Helper_Core::helperUserNameHtml() in XenForo/Template/Helper/Core.php at line 853
[*]XenForo_Template_Helper_Core::callHelper() in XenForo/Template/Abstract.php(265) : eval()'d code at line 76
[*]eval() in XenForo/Template/Abstract.php at line 265
[*]XenForo_Template_Abstract->_renderInternal() in XenForo/Template/Abstract.php at line 191
[*]XenForo_Template_Abstract->render() in XenForo/Template/Public.php at line 110
[*]XenForo_Template_Public->render() in XenForo/ViewRenderer/HtmlPublic.php at line 124
[*]XenForo_ViewRenderer_HtmlPublic->renderContainer() in XenForo/FrontController.php at line 639
[*]XenForo_FrontController->renderView() in XenForo/FrontController.php at line 158
[*]XenForo_FrontController->run() in /vhosts/gamesboard.pl/web/index.php at line 13
[/LIST]

It shows when I click on participants tab. This occurs only on old tournaments. New one is working ok.
 

MtoR

Freaky Coder
Staff member
Joined
Nov 14, 2015
Messages
4,459
That's maybe a change in the latest versions, would have to check.
 

MtoR

Freaky Coder
Staff member
Joined
Nov 14, 2015
Messages
4,459
Going to work on tournament next, currently on marketplace.
 

MtoR

Freaky Coder
Staff member
Joined
Nov 14, 2015
Messages
4,459
Was not able to reproduce this error.

Not sure what you meant by moving databases.

Clément
 

MattiGB

Member
Joined
Apr 2, 2016
Messages
118
Database migration. But I think this error is made by changing php version from 5 to 7.
 

MattiGB

Member
Joined
Apr 2, 2016
Messages
118
Ok I found where the problem is.
Please check: xfa_tourn_tournament_sidebar

When I deleted:
<xen:include template="xfa_tourn_tournament_sidebar" />

from xfa_tourn_tournament_rules everything works fine (without sidebar)
 

MtoR

Freaky Coder
Staff member
Joined
Nov 14, 2015
Messages
4,459
Ok it was a rather more complicated issue, it's when there is a winner when viewing rules and participants.
Fixed in next release.