Re: Error when sending PMs to multiple people?
The issue is indeed caused by adding yourself as a recipient. During recipient validation the current user is filtered out, but another internal array isn't updated to match, so when array_combine() is called the array sizes no longer match.
I've pushed a fix that reindexes the recipient arrays after filtering and added an extra safeguard to prevent this type of mismatch in the future
The notification badge issue appears to be unrelated. I haven't been able to reproduce that consistently yet, so if anyone finds reliable steps to trigger it, please post them in a separate topic so I can track it independently.