Open sergeyklay opened 5 years ago
https://github.com/teamreflex/DiscordPHP/blob/43ce21d835d36bb654499bc674b3215fb29749dd/src/Discord/WebSockets/Events/PresenceUpdate.php#L50-L54
Undefined index: nick #0 ../forum/vendor/team-reflex/discord-php/src/Discord/WebSockets/Events/PresenceUpdate.php(52): Whoops\Run->handleError(8, 'Undefined index...', '/data/nikos/pha...', 52, Array) #1 ../forum/vendor/team-reflex/discord-php/src/Discord/Discord.php(673): Discord\WebSockets\Events\PresenceUpdate->handle(Object(React\Promise\Deferred), Object(stdClass)) #2 ../forum/vendor/team-reflex/discord-php/src/Discord/Discord.php(564): Discord\Discord->handleDispatch(Object(stdClass)) #3 [internal function]: Discord\Discord->handleWsMessage(Object(Ratchet\RFC6455\Messaging\Message), Object(Ratchet\Client\WebSocket)) #4 ../forum/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php(64): call_user_func_array(Array, Array) #5 ../forum/vendor/ratchet/pawl/src/WebSocket.php(71): Ratchet\Client\WebSocket->emit('message', Array) #6 ../forum/vendor/ratchet/rfc6455/src/Messaging/MessageBuffer.php(104): Ratchet\Client\WebSocket->Ratchet\Client\{closure}(Object(Ratchet\RFC6455\Messaging\Message)) #7 ../forum/vendor/ratchet/rfc6455/src/Messaging/MessageBuffer.php(60): Ratchet\RFC6455\Messaging\MessageBuffer->processData('\x81~\x00\xA5{"t":"PRESE...') #8 [internal function]: Ratchet\RFC6455\Messaging\MessageBuffer->onData('\x81~\x00\xA5{"t":"PRESE...', Object(React\Stream\Stream)) #9 ../forum/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php(64): call_user_func_array(Array, Array) #10 ../forum/vendor/react/stream/src/Stream.php(173): Evenement\EventEmitter->emit('data', Array) #11 [internal function]: React\Stream\Stream->handleData(Resource id #230, Object(React\EventLoop\StreamSelectLoop)) #12 ../forum/vendor/react/event-loop/src/StreamSelectLoop.php(236): call_user_func(Array, Resource id #230, Object(React\EventLoop\StreamSelectLoop)) #13 ../forum/vendor/react/event-loop/src/StreamSelectLoop.php(205): React\EventLoop\StreamSelectLoop->waitForStreamActivity(5000000) #14 ../forum/vendor/team-reflex/discord-php/src/Discord/Discord.php(1229): React\EventLoop\StreamSelectLoop->run() #15 ../forum/app/task/Discord.php(84): Discord\Discord->run() #16 [internal function]: Phosphorum\Task\Discord->send(Array, Array) #17 [internal function]: Phalcon\Cli\Dispatcher->callActionMethod(Object(Phosphorum\Task\Discord), 'send', Array) #18 [internal function]: Phalcon\Dispatcher->dispatch() #19 ../forum/app/library/Bootstrap.php(129): Phalcon\Cli\Console->handle() #20 ../forum/app/library/Bootstrap.php(105): Phosphorum\Bootstrap->getOutput() #21 ../forum/forum(27): Phosphorum\Bootstrap->run() #22 {main}
/cc @Jurigag
Thanks for the info, is it happening all the time or it was only once?
https://github.com/teamreflex/DiscordPHP/blob/43ce21d835d36bb654499bc674b3215fb29749dd/src/Discord/WebSockets/Events/PresenceUpdate.php#L50-L54