I was unapproving some posts and noticed that the stats cache is never updated for unapproved posts or threads.
Even running update_stats(array(), true);
doesn't seem to work.
Hi,
Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.
Follow this link to visit the issue on Github:
https://github.com/mybb/mybb/issues/3615
Thanks for contributing to MyBB!
Regards,
The MyBB Group