#0 src/addons/EWR/Discord/Repository/Discord.php(329): usort(false, Object(Closure))
#1 src/addons/EWR/Discord/Option/Channels.php(13): EWR\Discord\Repository\Discord->parseChannels(false)
#2 [internal function]: EWR\Discord\Option\Channels::renderOption(Object(XF\Entity\Option), Array)
#3 src/XF/Entity/Option.php(77): call_user_func(Array, Object(XF\Entity\Option), Array)
#4 [internal function]: XF\Entity\Option->renderDisplayCallback(Array)
#5 src/XF/Template/Templater.php(1184): call_user_func_array(Array, Array)
#6 internal_data/code_cache/templates/l1/s0/admin/option_macros.php(206): XF\Template\Templater->method(Object(XF\Entity\Option), 'renderDisplayCa...', Array)
#7 src/XF/Template/Templater.php(817): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, NULL)
#8 internal_data/code_cache/templates/l1/s0/admin/addon_options.php(60): XF\Template\Templater->callMacro('option_macros', 'option_row', Array, Array)
#9 src/XF/Template/Templater.php(1644): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, NULL)
#10 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('addon_options', Array)
#11 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#12 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Html->renderView('XF:AddOn\\Option...', 'admin:addon_opt...', Array)
#13 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#14 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#15 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#16 src/XF/App.php(2344): XF\Mvc\Dispatcher->run()
#17 src/XF.php(512): XF\App->run()
#18 admin.php(13): XF::runApp('XF\\Admin\\App')
#19 {main}
Sorry:What's the error? You just posted the stack trace, but not the error itself.
TypeError: Macro admin:option_macros :: option_row() error: usort(): Argument #1 ($array) must be of type array, bool given src/addons/EWR/Discord/Repository/Discord.php:329
This is partially on me and mostly on my teammate. Homie made every single node a "Category" node. Thank you for the screenshot, helped me figure it out REAL quick.
You need forums for content to push.This is partially on me and mostly on my teammate. Homie made every single node a "Category" node. Thank you for the screenshot, helped me figure it out REAL quick.
Find the entry for his user id inxf_user_connected_account
and delete it manually.
The issue may be on Discord's end then.
I too, have had an issue lately where the bot never re-applies roles after a user leaves the server and then returns, or leaves and returns with a new account and associates that account.
https://8wayrun.dpdcart.com/portal
does not recognize the purchase email. The last update email received was on 2017.[8WR] Discord Integration
—is currently on version 2.1.0.9 on the target site, prior to some large changes per the changelog. XF\PrintableException: An error occurred while connecting with Discord. Please try again later.: Server error: `GET https://discord.com/api/guilds/761447087954722836/members/265759902088036353?limit=1000` resulted in a `503 Service Unavailable` response: upstream connect error or disconnect/reset before headers. reset reason: remote connection failure, transport failure re (truncated...) src/addons/EWR/Discord/Repository/Discord.php:60
Generated by: Unknown account Apr 26, 2024 at 6:24 PM
Stack trace
#0 src/addons/EWR/Discord/Repository/Discord.php(78): EWR\Discord\Repository\Discord->getGuild('/members/265759...')
#1 src/addons/EWR/Discord/Repository/Discord.php(288): EWR\Discord\Repository\Discord->patchMember(Object(Z61\MemberNotes\XF\Entity\User), Object(EWR\Discord\Entity\UserConnectedAccount))
#2 src/addons/EWR/Discord/Cron/Sync.php(9): EWR\Discord\Repository\Discord->syncDiscord()
#3 src/XF/Job/Cron.php(37): EWR\Discord\Cron\Sync::syncDiscord(Object(XF\Entity\CronEntry))
#4 src/XF/Job/Manager.php(260): XF\Job\Cron->run(8)
#5 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#6 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 8)
#7 src/XF/Cli/Command/RunJobs.php(59): XF\Job\Manager->runQueue(false, 8)
#8 src/vendor/symfony/console/Command/Command.php(255): XF\Cli\Command\RunJobs->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 src/vendor/symfony/console/Application.php(992): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 src/vendor/symfony/console/Application.php(255): Symfony\Component\Console\Application->doRunCommand(Object(XF\Cli\Command\RunJobs), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 src/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 src/XF/Cli/Runner.php(111): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 cmd.php(15): XF\Cli\Runner->run()
#14 {main}
Request state
array(1) {
["cli"] => string(60) "/home/uorealms/public_html/realms/cmd.php xf:run-jobs --wait"
}
Discord API goes down every once in a while. I get this error occasionally too.Hey @Jaxel not to be a pain but I've gotten two of these errors, one today and one last Saturday. Have never seen them before and was wondering if you could provide some insight on how I can try to keep it from happening, or what exactly is happening?
Thanks!
Code:XF\PrintableException: An error occurred while connecting with Discord. Please try again later.: Server error: `GET https://discord.com/api/guilds/761447087954722836/members/265759902088036353?limit=1000` resulted in a `503 Service Unavailable` response: upstream connect error or disconnect/reset before headers. reset reason: remote connection failure, transport failure re (truncated...) src/addons/EWR/Discord/Repository/Discord.php:60 Generated by: Unknown account Apr 26, 2024 at 6:24 PM Stack trace #0 src/addons/EWR/Discord/Repository/Discord.php(78): EWR\Discord\Repository\Discord->getGuild('/members/265759...') #1 src/addons/EWR/Discord/Repository/Discord.php(288): EWR\Discord\Repository\Discord->patchMember(Object(Z61\MemberNotes\XF\Entity\User), Object(EWR\Discord\Entity\UserConnectedAccount)) #2 src/addons/EWR/Discord/Cron/Sync.php(9): EWR\Discord\Repository\Discord->syncDiscord() #3 src/XF/Job/Cron.php(37): EWR\Discord\Cron\Sync::syncDiscord(Object(XF\Entity\CronEntry)) #4 src/XF/Job/Manager.php(260): XF\Job\Cron->run(8) #5 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8) #6 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 8) #7 src/XF/Cli/Command/RunJobs.php(59): XF\Job\Manager->runQueue(false, 8) #8 src/vendor/symfony/console/Command/Command.php(255): XF\Cli\Command\RunJobs->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #9 src/vendor/symfony/console/Application.php(992): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #10 src/vendor/symfony/console/Application.php(255): Symfony\Component\Console\Application->doRunCommand(Object(XF\Cli\Command\RunJobs), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #11 src/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #12 src/XF/Cli/Runner.php(111): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #13 cmd.php(15): XF\Cli\Runner->run() #14 {main} Request state array(1) { ["cli"] => string(60) "/home/uorealms/public_html/realms/cmd.php xf:run-jobs --wait" }
We use essential cookies to make this site work, and optional cookies to enhance your experience.