[buddypress-trac] [BuddyPress Trac] #5570: `bp_get_member_profile_data` showing wrong values cached for other users
buddypress-trac
noreply at wordpress.org
Wed Mar 25 13:29:27 UTC 2015
#5570: `bp_get_member_profile_data` showing wrong values cached for other users
-------------------------------------------+------------------
Reporter: frederick.ding | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.3
Component: Component - XProfile | Version: 2.0
Severity: major | Resolution:
Keywords: needs-patch reporter-feedback |
-------------------------------------------+------------------
Comment (by jlooooo):
Hi,
Just would like to mention I have this issue too. I use
{{{
$profile_bio = bp_get_member_profile_data('field=Bio');
if ($profile_bio) {
echo profile_bio;
}
}}}
to output member profile data in the members loop and when a member does
not have profile data it get's the value of the former member.
It seems to be related to Object Caching. I use xCache together with W3TC
on production site. On localhost I don't use xCache and everything is
fine. When I disable object cache in W3TC it's fixed too on production.
Is there a way to clear the Object Cache?
Using WP 4.1.1 and BP 2.2.1
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5570#comment:13>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list