This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing an issue with Jet Engine listings where the listing grid is mixing languages. When clicking on a Dutch version of a listing, it redirects to the English version. The issue is also observed with slugs, where the Dutch version uses the postname and the English version uses the post ID.
Solution:
We have identified that the problem is due to the current Custom Query used for listing the posts. The query is incorrectly assuming that the
term_taxonomy_id
and
term_id
in the term relationships and terms table always match, which is not the case and can lead to fetching incorrect values and retrieving the wrong language.
To resolve this, we recommend adjusting the query so that it does not solely rely on
terms.term_id
for fetching values.
Please note that this solution might be irrelevant if it's outdated or not applicable to your case. If the issue persists, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, 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.
Our next available supporter will start replying to tickets in about 3.36 hours from now. Thank you for your understanding.
This topic contains 4 replies, has 2 voices.
Last updated by 6 months, 3 weeks ago.
Assisted by: Bigul.