1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This area is dedicated to the support of our xF1 add-ons. For xF2, please use the dedicated area: HERE.
Dismiss Notice
We have just posted about our product policy for XF2.
Click HERE to view it.

Bug Fixed Can't see participants (after moving database)

Discussion in 'Tournament' started by MattiGB, Sep 5, 2017.

  1. MattiGB

    MattiGB Member

    Joined:
    Apr 2, 2016
    Messages:
    56
    Likes Received:
    0
    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.
     
  2. MtoR

    MtoR Freaky Coder
    Staff Member

    Joined:
    Nov 14, 2015
    Messages:
    3,303
    Likes Received:
    482
    That's maybe a change in the latest versions, would have to check.
     
  3. MattiGB

    MattiGB Member

    Joined:
    Apr 2, 2016
    Messages:
    56
    Likes Received:
    0
    Any news about that error?
     
  4. MtoR

    MtoR Freaky Coder
    Staff Member

    Joined:
    Nov 14, 2015
    Messages:
    3,303
    Likes Received:
    482
    Going to work on tournament next, currently on marketplace.
     
  5. MattiGB

    MattiGB Member

    Joined:
    Apr 2, 2016
    Messages:
    56
    Likes Received:
    0
    I am using php 7.0 version. Maybe this will be the cause of problem.
     
  6. MtoR

    MtoR Freaky Coder
    Staff Member

    Joined:
    Nov 14, 2015
    Messages:
    3,303
    Likes Received:
    482
    Was not able to reproduce this error.

    Not sure what you meant by moving databases.

    Clément
     
  7. MattiGB

    MattiGB Member

    Joined:
    Apr 2, 2016
    Messages:
    56
    Likes Received:
    0
    Database migration. But I think this error is made by changing php version from 5 to 7.
     
  8. MattiGB

    MattiGB Member

    Joined:
    Apr 2, 2016
    Messages:
    56
    Likes Received:
    0
    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)
     
  9. MtoR

    MtoR Freaky Coder
    Staff Member

    Joined:
    Nov 14, 2015
    Messages:
    3,303
    Likes Received:
    482
    Ok it was a rather more complicated issue, it's when there is a winner when viewing rules and participants.
    Fixed in next release.
     

Share This Page