Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are experiencing issues with WPML interfering with the Buddyboss plugin on the Groups page. Specifically, group links and the 'Create group' button do not function correctly when WPML is active.
Solution:
We recommend trying the following steps:
1. Install the WPML Sticky Links plugin, which you can download here: WPML Sticky Links.
2. Add the following code to your theme's functions.php file:

add_filter( 'wpml_sl_blacklist_requests', function ( $blacklist ) {<br />  $blacklist[] = '/groups/.+/';<br />  return $blacklist;<br />});

This code aims to prevent WPML from processing URLs that match the group pages, potentially resolving the issue.

If this solution does not resolve your issue or seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 0 replies, has 1 voice.

Last updated by Bruno Kos 20 hours, 31 minutes ago.

Assisted by: Bruno Kos.

Author Posts
April 25, 2025 at 9:30 am

michalH-20

Background of the issue:
I am trying to resolve an issue where WPML is causing problems with the Buddyboss plugin on our Groups page. The Groups are set as non-translatable, and we do not want to translate them. The issue is intermittent, but currently, it is present. The problem affects the functionality of group links and the 'Create group' button. The issue can be seen on this page: hidden link.

Symptoms:
When WPML is active, group links and the 'Create group' button do not work on the Groups page. The course widget should redirect to the connected course page, but it redirects to the group page instead. This issue is not present on the second page of the groups listing.

Questions:
What is causing WPML to interfere with Buddyboss plugin functionality on the Groups page?
How can I fix the issue where group links and the 'Create group' button do not work?

April 25, 2025 at 10:19 am
April 26, 2025 at 9:46 am #16970727

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

For me it worked at first when I entered incognito, but not when I entered it directly. But when using pagination it starts to work everywhere.

Would it be difficult for you to reproduce this issue in a sandbox if I prepare one? I can install the necessary plugins, and we'd only need a few demo groups.

Otherwise, I can install the Duplicator plugin on your site and generate minimal packages (excluding media files) for further debugging.

correct url.jpg
April 28, 2025 at 12:19 pm #16974822

michalH-20

And you cannot use my staging site? It is an exact copy of my live site so this can be good for debugging?

And I am not sure If I will be able to replicate it so if staging site won't work for you then migrating it for the new copy on your server will be OK. So how is that? Can you use the staging site? The credentials I gave to your colleague during the ticket in the private mode, so you should have it already.

April 28, 2025 at 1:34 pm #16975118

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

Ok, if the issue is too complex to reproduce in sandbox, we can definitely go with your staging website.

To troubleshoot this problem, I'll install the Duplicator plugin and generate packages for further debugging purposes. I'll ensure to exclude all media files to maintain a minimal package size.

You can find more information about the process here:
https://wpml.org/faq/checklist-before-opening-a-ticket-in-wpml-support/#get-help-from-support

Please confirm if this approach is acceptable to you!

April 28, 2025 at 3:52 pm #16975716

michalH-20

You mean with my staging site? You can do whatever you want with it. I need to solve this problem fast so Anything you need to with it you do can do. On staging site. There are many plugins deactivated as we tried to solve it with your support, but not successfuly. Please don’t do anything on live site. Just you can look there how is it there but please don’t change anything. Thank you very much.

April 29, 2025 at 6:20 am #16977202

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

I am checking this with our 2nd tier and will keep you posted. I see the same issue on my localhost as well.

without wpml it works.jpg
allurlsgroups.jpg
April 29, 2025 at 7:14 am #16977377

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

What if you try this?

- install this plugin https://wpml.org/download/wpml-sticky-links/?section=changelog
- add this to your theme functions.php

add_filter( 'wpml_sl_blacklist_requests', function ( $blacklist ) {
  $blacklist[] = '/groups\/.+/';
  return $blacklist;
});

Do the URLs work now?

April 29, 2025 at 9:05 am #16977839

michalH-20

Yes! It does work! Thank you very much for your help 🙂 I hope that this will fix the problem for good 🙂

Thanks a lot 🙂

April 29, 2025 at 1:45 pm #16979616

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

I'm glad to hear it's working! 🙂

Yes, just keep this code there (along with Sticky Links), and it will continue to work.