processMessage 中 room_id 未在 Rooms/qiweRooms 表中登记时,find() 返回 null,PHP 7.4 起取 ['type'] 会抛 Trying to access array offset on value of type null。改用 ?? 取默认 null,行为与升级前一致:落 switch default 返回"群聊类型未命中"。 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>