[buddypress-trac] [BuddyPress Trac] #9076: Cache issue when trying to use get_post() with an existing directory page ID
buddypress-trac
noreply at wordpress.org
Mon Mar 4 14:27:08 UTC 2024
#9076: Cache issue when trying to use get_post() with an existing directory page
ID
--------------------------------------+---------------------
Reporter: imath | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 12.4.0
Component: Members | Version: 12.0.0
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests |
--------------------------------------+---------------------
Comment (by shawfactor):
@imath I have identified the issue and it is an issue with buddypress
12.** and its interaction with object caching on multisite when
BP_ENABLE_MULTIBLOG is set to true. Basically the directory_pages cache
seems to relfect that of the root blog .
This can be repsorduced by running a clean install of buddypress 12.*** on
mutisite with BP_ENABLE_MULTIBLOG set to true and acting redis object
caching. The issue exists. Incuding the fatal errors. It can be remedied
by excuding the chache group bp_pages from object caching
I think you patch functioned more as a band aid for the underlying issue.
I have looked at the logic though and I cannot determine why the root blog
is being picked up though. Any ideas?
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9076#comment:11>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list