-
-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Running in this error:
production.ERROR: Undefined array key "#op_yajirobe" {"exception":"[object] (ErrorException(code: 0): Undefined array key \"#op_yajirobe\" at /home/forge/redacted/releases/20240724032158/vendor/ghostzero/tmi/src/Traits/Irc.php:45)
I'm only seeing this occasionally and haven't been able to isolate what might be causing the issue. I can confirm that the cluster is connected to the channel (thus the event), also confirmed that the channel is listed in tmi_cluster_supervisor_processes in the channels array for an active and connected process. Just... doesn't seem to be there in the $client->getChannel().
Given that the bot is in the channel, I have to assume the $this->write("JOIN {$channel}"); from Irc.php is indeed happening, and the line before that is the one that should be putting the channel in the channels array. Can also confirm there's a record for the channel in the tmi_cluster_channels table, with reconnect true, revoked false.
I've seen this issue with a handful of channels, it seems to be the same ones that are causing this error - not random. Ie; if this user goes live and there's replied-to messages, this error will happen every time. But replied-to messages from other channels are fine. I've only really started digging into it the last few hours and so I've only got two examples of channels that are live while I'm digging into it and one of them was follower only chat, the other was verified accounts only chat. But... the bot is already in the channels and getting the messages, so it should be in that channels array, right?
Any ideas?