WPML
Status
Resolved
Type
Bug
Reported for
WPML Multilingual for BuddyPress and BuddyBoss 1.7.0
Resolved in
BuddyPress Multilingual 1.8.0
Related plugin/theme
BuddyBoss Platform
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:
    	if ( isset( $cache[ $cache_key ] ) ) {
    		return $cache[ $cache_key ];
    	}

  • With:
    	if (isset($cache[$cache_key]) && !class_exists('Sitepress')) {
    		return $cache[$cache_key];
    	}

All known issues