These two issues are probably related as they're in the same file and the lines are close together:
--------------------------------------------------------------
ErrorException: Undefined index: roles - library/NixFifty/Discord/Helper.php:65
Generated By: Lewdis, 28 minutes ago
Stack Trace
#0 /*/library/NixFifty/Discord/Helper.php(65): XenForo_Application::handlePhpError(8, 'Undefined index...', '/*...', 65, Array)
#1 /*/library/NixFifty/Discord/ControllerPublic/Register.php(69): NixFifty_Discord_Helper->setUserServerGroupsById(Object(XenForo_Model_UserExternal), 10124)
#2 /*/library/XenForo/FrontController.php(351): NixFifty_Discord_ControllerPublic_Register->actionDiscordRegister()
#3 /*/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#4 /*/index.php(13): XenForo_FrontController->run()
#5 {main}
Request State
array(3) {
["url"] => string(104) "https://www.taconbanana.com/register/discord/register?code=********"
["_GET"] => array(2) {
["code"] => string(30) "********"
["state"] => string(8) "********"
}
["_POST"] => array(0) {
}
}
--------------------------------------------------------------
ErrorException: array_diff(): Argument #1 is not an array - library/NixFifty/Discord/Helper.php:68
Generated By: Lewdis, 43 minutes ago
Stack Trace
#0 [internal function]: XenForo_Application::handlePhpError(2, 'array_diff(): A...', '/*/...', 68, Array)
#1 /*/library/NixFifty/Discord/Helper.php(68): array_diff(NULL, Array)
#2 /*/library/NixFifty/Discord/ControllerPublic/Register.php(69): NixFifty_Discord_Helper->setUserServerGroupsById(Object(XenForo_Model_UserExternal), 10124)
#3 /*/library/XenForo/FrontController.php(351): NixFifty_Discord_ControllerPublic_Register->actionDiscordRegister()
#4 /*/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#5 /*/index.php(13): XenForo_FrontController->run()
#6 {main}
Request State
array(3) {
["url"] => string(104) "https://www.taconbanana.com/register/discord/register?code=******&state=******"
["_GET"] => array(2) {
["code"] => string(30) "******"
["state"] => string(8) "******"
}