Private Messages Mailbox stores the messages.
If a user who sent a message is deleted, it will cause an error on
/account/messages/view_mailbox/inbox
Maybe it is necessary to check whether the message sender’s account is deleted.
Private Messages Mailbox stores the messages.
If a user who sent a message is deleted, it will cause an error on
/account/messages/view_mailbox/inbox
Maybe it is necessary to check whether the message sender’s account is deleted.
Hello,
Does this happen on a vanilla install of 9.3.5? You can test that here:
https://community.concretecms.com/get-concrete-site
If so, that would definitely be good to report as an issue here:
Thanks!
Hello, EvanCooper
Thank you very much for your suggestion.
I tested on concreteserver.com, a clean install with sample contents, and I got the same error.
I browsed a github repository, and I found an issue
“If sent private message to user and that user is deleted visiting your sent messages throws error #12107”
It’s already reported. I’m sorry for bothering.
I missed the GitHub issue as well, but I have a pull request with a fix to this waiting to be approved: Fix deleted private message sender access attempts by wtflm · Pull Request #12263 · concretecms/concretecms · GitHub
Hello, wtflm,
Thank you for a pull request.
I copied the code you made and the error message is no longer shown.