Skip to content Skip to sidebar

Resolved

Reported for: BuddyPress Multilingual 1.7.0

Resolved in: BuddyPress Multilingual 1.8.0

Topic Tags: Compatibility

Overview of the issue

When using BuddyBoss with WPML, Profile Types display all member types—both the original and translated versions—on the registration form. This issue occurs even when Profile Types are set to “Translatable – only show translated content.”

Workaround

Please, make sure of having a full site backup of your site before proceeding.

  • Open …/wp-content/plugins/buddyboss-platform/bp-members/bp-members-functions.php file.
  • Look for line 3466.
  • Replace:
    1
    2
    3
    if ( isset( $cache[ $cache_key ] ) ) {
        return $cache[ $cache_key ];
    }
  • With:
    1
    2
    3
    if (isset($cache[$cache_key]) && !class_exists('Sitepress')) {
        return $cache[$cache_key];
    }