Skip Navigation

Resolved

Overview of the issue

When using Redis Object Cache with BuddyPress Multilingual you will experience problems with BuddyPress pages. In some situations, pages won’t display and in others, you will be incorrectly redirected.

This is caused by the bp_pages cache group which does not hold language information.

Workaround

By default, Redis Object Cache already excludes the groups “themes”, “plugins” and “counts”. The solution is to exclude the “bp_pages” group as well.

To do this, add the following lines to your wp-config.php file.

define( 'WP_REDIS_IGNORED_GROUPS', [
    "counts",
    "plugins",
    "themes",
    "bp_pages"
] );

3 Responses to “Problems with BuddyPress Multilingual and Redis Object Cache”

    • Dear Bret,
      Since this is a configuration issue, it is still valid.
      Thanks for the correction, I have updated the code above.