What's new
Xen Factory

Register today to become a member! Once signed in, you'll be able to start purchasing our products, ask questions, request support and suggest new ideas!

  • 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 Tournament error on creation

EazyEazy

Member
When creating a tournament im getting the following errors. I have also untickrd the option to use an icon in the settings and it8s still the same. Tournament does create though.

Code:
LogicException: Class XFa\Tournament\Service\Tournament\Icon does not exist in src/XF/Container.php at line 273

    XF\Container->createObject() in src/XF/App.php at line 1708
    XF\App->XF\{closure}() in src/XF/Container.php at line 234
    XF\Container->create() in src/XF/App.php at line 3021
    XF\App->service() in src/XF/Mvc/Controller.php at line 788
    XF\Mvc\Controller->service() in src/XF/ControllerPlugin/AbstractPlugin.php at line 82
    XF\ControllerPlugin\AbstractPlugin->__call() in src/addons/XFA/Tournament/ControllerPlugin/TournamentIcon.php at line 21
    XFA\Tournament\ControllerPlugin\TournamentIcon->actionUpload() in src/addons/XFA/Tournament/Pub/Controller/Category.php at line 69
    XFA\Tournament\Pub\Controller\Category->actionCreate() in src/XF/Mvc/Dispatcher.php at line 352
    XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
    XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
    XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2351
    XF\App->run() in src/XF.php at line 517
    XF::runApp() in index.php at line 20

Error log shows the following

Code:
    LogicException: Class XFa\Tournament\Service\Tournament\Icon does not exist src/XF/Container.php:273

    

Stack trace

#0 src/XF/App.php(1708): XF\Container->createObject('XFa\\Tournament\\...', Array)
#1 src/XF/Container.php(234): XF\App->XF\{closure}('XFa\\Tournament\\...', Array, Object(XF\Container))
#2 src/XF/App.php(3021): XF\Container->create('service', 'XFa\\Tournament:...', Array)
#3 src/XF/Mvc/Controller.php(788): XF\App->service('XFa\\Tournament:...', Object(XFA\Tournament\Entity\Tournament))
#4 src/XF/ControllerPlugin/AbstractPlugin.php(82): XF\Mvc\Controller->service('XFa\\Tournament:...', Object(XFA\Tournament\Entity\Tournament))
#5 src/addons/XFA/Tournament/ControllerPlugin/TournamentIcon.php(21): XF\ControllerPlugin\AbstractPlugin->__call('service', Array)
#6 src/addons/XFA/Tournament/Pub/Controller/Category.php(69): XFA\Tournament\ControllerPlugin\TournamentIcon->actionUpload(Object(XFA\Tournament\Entity\Tournament))
#7 src/XF/Mvc/Dispatcher.php(352): XFA\Tournament\Pub\Controller\Category->actionCreate(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XFA\\Tournament:...', 'Create', Object(XF\Mvc\RouteMatch), Object(XFA\Tournament\Pub\Controller\Category), NULL)
#9 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XFA\Tournament\Pub\Controller\Category), NULL)
#10 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#11 src/XF/App.php(2351): XF\Mvc\Dispatcher->run()
#12 src/XF.php(517): XF\App->run()
#13 index.php(20): XF::runApp('XF\\Pub\\App')
#14 {main}

Request state

array(4) {
  ["url"] => string(61) "/###########/index.php?tournaments/categories/fifa-22.11/create"
  ["referrer"] => string(89) "https://##########/#############/index.php?tournaments/categories/fifa-22.11/create"
  ["_GET"] => array(1) {
    ["tournaments/categories/fifa-22_11/create"] => string(0) ""
  }
  ["_POST"] => array(17) {
    ["_xfToken"] => string(8) "********"
    ["title"] => string(23) "TFI Ryder Cup - Group 4"
    ["type"] => string(4) "solo"
    ["mode"] => string(11) "round_robin"
    ["game_id"] => string(1) "0"
    ["description_html"] => string(0) ""
    ["rules_html"] => string(0) ""
    ["min_players"] => string(1) "0"
    ["max_players"] => string(1) "0"
    ["slots"] => string(1) "2"
    ["slots_round_robin"] => string(1) "4"
    ["slots_text"] => string(1) "1"
    ["end_date"] => array(2) {
      ["date"] => string(0) ""
      ["time"] => string(5) "01:00"
    }
    ["icon_action"] => string(6) "custom"
    ["_xfRequestUri"] => string(61) "/#################/index.php?tournaments/categories/fifa-22.11/create"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
Top