Strange cache issues (in profile and topic count)
-
Hi. I’m working with bbpress in a child theme, and I’m having a couple of strange issues in a remote environment that I think I can’t reproduce locally.
One is related to Profile pages. If I log as a certain user and then visit other user profile (in my case, the administrator profile), the displayed page may not be the correct one. Let me explain:
I worked with admin user a lot, but sometimes I log with a subscriber role in order to develop different contents, meaning the admin can see things than subscribers cannot. Well, being a subscriber suddenly I can see button that I shouldn’t see when visiting the admin page. And more: the “welcome username” message is wrong, showing the admin name instead of the subscriber.
Conclusion: some pages are some-way cached. Editing them via FTP and saving again the files solves the issue.
Second issue: the topic count (bbp_forum_topic_count method) sometimes displays the wrong number of topics if I previously deleted some. In my case, I deleted 5 topics. But the counter was wrong. So I went to Topics->Trash, removed just one permanently an now to count works just fine.
So, for this second issue I’d like to know if there’s a bbpress cache for counting or something.
Notice my remote environment doesn’t have any cache enabled. And I don’t have any wordpress cache plugin installed. And also as I’m developing I have rules in .htaccess to avoid cache as much as I can. But anyway something is going on and I can’t trust my installation until I discover what it is.
Thanks in advance.
- You must be logged in to reply to this topic.