1. This area is dedicated to the support of our xF2 add-ons, for support of our xF1 add-ons please use the dedicated forums.
    Note that we only accept support question and bug reports in this section.

    For suggestions, please wait until xF2 stable is released as we'll reorganize our forum at that time and accept them.
Dismiss Notice
We have just posted about our product policy for XF2.
Click HERE to view it.

Tournament Fixed Null

Discussion in 'Archives' started by MattiGB, Nov 4, 2018.

  1. MattiGB

    MattiGB Member

    Joined:
    Apr 2, 2016
    Messages:
    104
    Likes Received:
    1
    In my logs I found that error:
    Code:
    [LIST]
    [*]TypeError: Argument 1 passed to XFA\Roster\XF\Entity\User::canEditRoster() must be an instance of XFA\Roster\Entity\Roster, null given
     
    [*]src/addons/XFA/Roster/XF/Entity/User.php:177
    [/LIST]
    
    Code:
    #0 [internal function]: XFA\Roster\XF\Entity\User->canEditRoster(NULL)
    #1 src/XF/Template/Templater.php(939): call_user_func_array(Array, Array)
    #2 internal_data/code_cache/templates/l1/s30/public/xfa_roster_roster_index.php(164): XF\Template\Templater->method(Object(ThemeHouse\Reactions\XF\Entity\User), 'canEditRoster', Array)
    #3 src/XF/Template/Templater.php(662): XF\Template\Templater->{closure}(Object(ThemeHouse\Reactions\XF\Template\Templater), Array, Array)
    #4 internal_data/code_cache/templates/l1/s30/public/xfa_tourn_tournament_participants.php(144): XF\Template\Templater->callMacro('xfa_roster_rost...', 'item', Array, Array)
    #5 src/XF/Template/Templater.php(1249): XF\Template\Templater->{closure}(Object(ThemeHouse\Reactions\XF\Template\Templater), Array)
    #6 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('xfa_tourn_tourn...', Array)
    #7 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
    #8 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Html->renderView('', 'public:xfa_tour...', Array)
    #9 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
    #10 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
    #11 src/XF/App.php(1931): XF\Mvc\Dispatcher->run()
    #12 src/XF.php(328): XF\App->run()
    #13 index.php(13): XF::runApp('XF\\Pub\\App')
    #14 {main}
    
    Code:
    array(4) {
      ["url"] => string(71) "/tournaments/gameon-eliminacje-2-league-of-legends-5on5.34/participants"
      ["referrer"] => bool(false)
      ["_GET"] => array(0) {
      }
      ["_POST"] => array(0) {
      }
    }
    
     
  2. MtoR

    MtoR Freaky Coder
    Staff Member

    Joined:
    Nov 14, 2015
    Messages:
    4,570
    Likes Received:
    706
    Ok thanks for reporting will fix that.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice