Skip Navigation

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

Problem:
The client is using JetEngine custom post queries on a multilingual site. The queries work for German, Spanish, and Russian, but not for French or Italian translations.

Solution:
We recommend going to the Listing in either French or Italian and re-saving it. This action was confirmed by Crocoblock as a solution and worked for the client, resolving the issue for both languages. After re-saving the listings and Smart filters, all items displayed correctly across the site.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, please check the related known issues and confirm that you have installed the latest versions of themes and plugins. If the problem persists, we highly recommend opening a new support ticket with us for further assistance 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 23 replies, has 2 voices.

Last updated by Waqas Bin Hasan 9 months, 2 weeks ago.

Assisted by: Waqas Bin Hasan.

Author Posts
July 31, 2024 at 12:38 pm

cathexisT

Background of the issue:
I am using JetEngine custom post queries on a site under development. The queries work for some languages but not others. For German, Spanish, and Russian, the queries fetch the correct posts. However, no posts are fetched for French or Italian translations. Example URLs: hidden link and hidden link. You will require a login to view the page. See the attached screenshot. I am following this documentation: hidden link

Symptoms:
JetEngine custom post queries are not fetching posts for French or Italian translations.

Questions:
Why are JetEngine custom post queries not fetching posts for French or Italian translations?
How can I ensure that JetEngine custom post queries work for all languages, including French and Italian?

July 31, 2024 at 1:03 pm
August 1, 2024 at 2:08 pm #16030073

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting the support.

I am assigned this ticket and 'll try my best to help you find and fix the problem. I am looking into this and 'll get back to you accordingly.

Your patience and cooperation is highly appreciated.

Regards.

August 2, 2024 at 8:56 am #16032252

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for your patience and cooperation.

I've investigated in much detail and looks like the problem is with only Italian query for these tech partner posts. For example, even if you check the archive itself at hidden link, you'd notice that it returns nothing for Italian (not even by changing the selection - checkboxes). However, if you switch to any other language, for example Spanish (hidden link), it works just fine.

I've tried many things, including deleting Italian translation for the loop item and translating again, checking query in detail and relevant settings/configs.

I need some more time, so I can reproduce it in another environment and check with my team. I 'll get back to you on Monday.

August 2, 2024 at 10:27 am #16032834

cathexisT

Hi Waqas

Thank you for the feedback. It is quite strange, as it seem like it should just work.

Let me know if you need anything from myside. I have reactivated all the plugins in the meant time as we are continuing to update the site. Thank you

August 2, 2024 at 12:57 pm #16033593

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Sure, I'll update you on Monday as I'll be off for the weekend and I need to investigate further about it.

Thank you for your patience and cooperation. Have a great weekend.

August 5, 2024 at 7:27 am #16037718

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for your patience and cooperation.

I investigated further and tried to reproduce the problem in my local without any luck.

So I've prepared a fresh sandbox site at hidden link (one-click login). Here I've added your theme, related plugins, Tech Partners post type and taxonomies with a few sample ones (and translated).

I've tried my best to replicate the basic setup as your staging site. However, I'll request to create those queries and templates to reproduce the problem.

And meanwhile you do it, please note down the steps for me, so I can then retry and understand the difference. We'll also be able to understand if this issue is only happening in your site (i.e. a DB or environment specific) or can be reproduced elsewhere.

Please let me know when you're ready.

FYI, I installed a plugin in your site to enable download links for themes and plugins. So if you need to add any other plugin/theme, you can simply go to your Plugins or Themes page, click the download link and then upload the zip file in the sandbox by going to Plugins/Themes -> Add New page respectively.

August 5, 2024 at 8:19 am #16037937

cathexisT

Hi Wasqas

Ok, I'm not sure what you need from my side next?

Would it not be easier for me to share a backup of the site with you?

I have checked the queries in different languages and they work.

It seems to be an issue with the way the Jetengine Listing Grid is calling the translated Listing.

August 5, 2024 at 12:24 pm #16039989

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the updates.

I can migrate (make a copy) of your staging site to our Cloudways test servers. If this is OK for you?

Please let me know.

August 5, 2024 at 12:33 pm #16040016

cathexisT

Hi Waqas,

Yes, that's fine. There is an updraft copy: Aug 05, 2024. Otherwise you can create a copy using other methods.

August 6, 2024 at 5:35 am #16042433

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the updates. I've started migration to our CW site, this 'll take some time and then I'll continue further.

Meanwhile, it'd be great if you stop work on the staging site. I'll update you once the migration is complete.

August 6, 2024 at 7:03 am
August 6, 2024 at 7:46 am #16042699

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

I've escalated the issue to our 2nd tier team for a detailed investigation. This may take some time, however, I'll get back to you as soon as there's some progress.

August 6, 2024 at 8:16 am #16042824

cathexisT

Hi Waqas, thank you for all your support and continuous feedback.

Do you think I should contact the Jetengine team to investigate from there side?

August 6, 2024 at 9:43 am #16043320

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

I don't think that's necessary for now. If it's needed our team 'll suggest otherwise, or our compatibility team 'll take care of it.

So far we're not sure either it is coming from JetEngine or Elementor, as both are needed in the play.

I'll update you as soon as I hear back.