Skip Navigation

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

Problem:
After updating to WPML 4.7.4 and String Translation 3.3.3, issues arose with post categories not being recognized correctly on the front end when using Elementor. Disabling String Translation temporarily resolved the issue, indicating a compatibility problem between the updated versions of WPML, String Translation, and Elementor.
Solution:
We identified that the issue stems from Elementor using

term_taxonomy_id

instead of

term_id

, which our code did not anticipate, leading to all results being shown without filtering by a taxonomy term. A fix for this issue will be included in the upcoming WPML 4.7.5 release. Meanwhile, we provided a workaround involving a code modification in

/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/Hooks/QueryFilter.php

. This modification should be tested on a staging site after taking a full backup. If this solution does not resolve your issue or seems outdated, please check for related known issues at https://wpml.org/known-issues/, verify you have the latest versions of themes and plugins, and if necessary, open a new support ticket at WPML support forum.

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 32 replies, has 1 voice.

Last updated by Andreas W. 3 weeks, 2 days ago.

Assisted by: Andreas W..

Author Posts
May 7, 2025 at 5:48 am #17004229

azimd

Background of the issue:
I was trying to update to version 4.7.4 of the WPML plugin. The issue can be seen on this page: hidden link

Symptoms:
After updating to version 4.7.4, I am facing issues with repeated posts. Randomly selected posts are appearing, which needs to be corrected.

Questions:
Why are random posts appearing after the update?
How can I correct the issue of repeated posts?

May 7, 2025 at 6:31 am #17004392

azimd

looks like problem with string translation 3.3.3, if we disable this looks like working as expected.

WhatsApp Image 2025-05-07 at 11.58.07.jpeg
May 7, 2025 at 6:55 am #17004536

azimd

Post categories are not getting recognized and all post categories replaced with only one post category. Can you please help to resolve this asap. When we disabled string translations all posts category sections loading as expected.

May 7, 2025 at 6:56 am #17004538

Bruno Kos
WPML Supporter since 12/2018

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

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

Hi,

To help us investigate further, could you please provide the following:

1. Screenshots of the duplicated posts issue as seen on the frontend—this will help us understand the visual impact.
2. A screenshot or explanation of what you’re seeing in the WordPress backend for those repeated posts (for example, do they show up multiple times in the post list or only on the frontend?).
3. Any temporary fixes or workarounds you’ve tried so far to address or remove the duplicated posts—whether through manual removal, custom code, plugin settings, etc.

These details will help us better assess the situation and determine the best path to resolve it.

Looking forward to your response.

May 7, 2025 at 7:57 am #17004794

azimd

Hi I have attached the screenshots for the Elementor editor where the post categories are loaded correctly but when we see the same home page on the front end, both the sections are loading all the posts without any category selection.

If we disable the string translation(3.3.3) plugin, then this category works fine in the front end. Any idea what might be the issue?

Before we updated to WPML 4.7.4 and string translation 3.3.3 it was working fine.

In our live site, WPML version is 4.7.3 and string 3.3.2, where it's working fine.

Could you please help us identify this issue

WhatsApp Image 2025-05-07 at 13.24.35.jpeg
WhatsApp Image 2025-05-07 at 13.24.35 (1).jpeg
May 8, 2025 at 4:32 am #17009605

azimd

Can you please help resolve this issue? It is blocking me from updating to the latest version of WPML.

May 8, 2025 at 6:00 am #17009807

azimd

Till now, we have tried disabling all the plugins except Elementor and WPML, and we still see the same problem of not recognizing the post categories. i looks like the issue is from the WPML only. Can you please help resolve this issue.

May 8, 2025 at 11:57 am #17011431

azimd

Can you please reply if this is something known and how to solve this, or we can share the credentials, so that you can have a look at why this is happening?

May 8, 2025 at 2:05 pm #17012479

azimd

please do check and respond back asap. its became very critical.

May 10, 2025 at 2:55 pm #17019175

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

I would like to request temporary access (wp-admin and FTP) to the website to investigate the issue further.

You can find the required fields below the comments section when you log in to leave the next reply. The information you provide is private, meaning only you and I can see and access it.

IMPORTANT
Please be sure to back up your website and database before granting us access.
If you can't see the "wp-admin / FTP" fields, your post and website credentials will be set to "PUBLIC." DO NOT publish the data unless you see the required wp-admin / FTP fields.

I may need to install a plugin called "All In One WP Migration" to create a copy of the website so I can investigate the issue further.

However, I would also be very grateful if you could provide a staging site or a copy of the website from your server for this purpose.

If you have any questions about creating such a staging site, you can consult your hosting provider. Please note that WPML must also be registered on this staging site at https://wpml.org/account/websites/.

If you are unable to provide such a copy of the website for testing, please let me know on this ticket.

The private reply form looks like this:
hidden link

Click "I still need assistance" the next time you reply.

Video:
hidden link

Please note that we are required to request this information individually on each ticket. We are not permitted to access any credentials that were not specifically submitted on this ticket using the private response form.

Best regards,
Andreas

May 13, 2025 at 1:01 pm #17027769

azimd

Could you please confirm if you were able to access our system?

May 13, 2025 at 2:24 pm #17028488

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

My apologies for the delay in answering, as I work from Tuesdays to Saturdays.

Source:
https://wpml.org/forums/users/andreas-w/

I am able to see the issue on your staging site and I will try to replicate this issue on a new test site in a minimal setup to confirm if this might be a compatibility issue between Elementor and WPML.

May 14, 2025 at 5:11 am #17030092

azimd

Not a problem. Please let us know how we can resolve this issue, as our customer is pushing to keep all our plugins in the latest versions for security reasons.

May 15, 2025 at 1:46 am #17034716

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Your staging site is no longer available and I do not recall the exact setup by memory.

Please try using the same widget that you use to display the post twice on the same page and try to recreate the issue on the following test site.

WPML and Elementor PRO are already installed and I created some test posts in different categories and translated them.

One-Click-Login:
hidden link

Make sure to leave me a comment on this ticket once you are done with this task.

May 15, 2025 at 6:10 am #17035010

azimd

The staging site we have shared is very much available and working. Could you please have a look at that and let us know what the problem might be. In the mean time we will also try to check the setup you have given. Do let me know if you want me to share the staging URL again,.