Discord Fixed Trying to get property 'ConnectedAccounts' if i edit a group

Tealk

Member
When I edit a group I get the following error message:

Code:
Server error log

    ErrorException: [E_NOTICE] Trying to get property 'ConnectedAccounts' of non-object src/addons/NF/Discord/Helper.php:65

    Generated by: Tealk Aug 7, 2019 at 8:49 AM

Stack trace

#0 src/addons/NF/Discord/Helper.php(65): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/var/customers/...', 65, Array)
#1 src/addons/NF/Discord/Helper.php(153): NF\Discord\Helper->setUserServerGroupsById(247)
#2 src/addons/NF/Discord/Job/GroupSync.php(42): NF\Discord\Helper->setUsersServerGroupsByIds(Array)
#3 src/XF/Job/Manager.php(253): NF\Discord\Job\GroupSync->run(G)
#4 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#5 src/XF/Job/Manager.php(111): XF\Job\Manager->runJobEntry(Array, G)
#6 src/XF/Admin/Controller/Tools.php(120): XF\Job\Manager->runByIds(Array, 10)
#7 src/XF/Mvc/Dispatcher.php(321): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(244): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(NF\Discord\XF\Admin\Controller\Tools), NULL)
#9 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(NF\Discord\XF\Admin\Controller\Tools), NULL)
#10 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#11 src/XF/App.php(2178): XF\Mvc\Dispatcher->run()
#12 src/XF.php(390): XF\App->run()
#13 admin.php(13): XF::runApp('XF\\Admin\\App')
#14 {main}

Request state

array(4) {
  ["url"] => string(24) "/admin.php?tools/run-job"
  ["referrer"] => string(70) "https://anzahcraft.de/admin.php?user-groups/standard-registered.2/edit"
  ["_GET"] => array(1) {
    ["tools/run-job"] => string(0) ""
  }
  ["_POST"] => array(5) {
    ["only_id"] => string(4) "3361"
    ["_xfRequestUri"] => string(49) "/admin.php?user-groups/standard-registered.2/edit"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
Top