Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - -
- - - - - - -

Supporter timezone: Asia/Yerevan (GMT+04:00)

Tagged: 

This topic contains 21 replies, has 3 voices.

Last updated by Christopher Amirian 1 year, 9 months ago.

Assisted by: Christopher Amirian.

Author Posts
February 13, 2024 at 8:09 am #15295833

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

I asked the second-tier support to go forward and check the live website without touching anything.

He mentioned that in the backend there is no issue showing in the query monitor plugin and the query monitor is not available on the homepage in the first place to see the queries.

I also double checked and he was right.

Any reason that it does not show? And I wonder how you managed to see the duplicate queries in the homepage?

Thanks.

February 13, 2024 at 8:54 am #15296034

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

I tried one more time to create a dump of the website and unfortunately it seems that there is space shortage or something that causes the issue.

So to be able to go forward I can ask for access to the Database of your website via your panel and FPT information so I can do the dumping manually by downloading from FTP and download manually the SQL from the database.

Just so you know that will take a lot of time as I do not have any choice here.

I'd appreciate it if you can give me access to the database of your website and the FTP connection information so I can do the process od dumping manually.

Please make sure that you set the next reply as private.

February 14, 2024 at 7:44 am #15300329

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

Thanks, I shared the details with the second tier support.

Meanwhile, the second-tiers found out that the query monitor works on Shop page and there they checked and suggested that you switch from display as translated mode to show translation only for the custom post types.

If you go to WordPress Dashboard > WPML > Settings > Post Types translation, you will see that you selected the second option for mist post types there (check the screenshot):

Translatable
use translation if available or fallback to default language

That might have an impact on the current situation and it is recommended that you select the

Translatable
only show translated items

option and save the settings.

Thanks.

Screenshot 2024-02-14 at 11.42.25.png
February 14, 2024 at 10:37 pm #15304548

tannerT

"display as translated mode to show translation only for the custom post types." -> This does not make sense to me as neither of the options are literally titled this. I believe you are suggesting for me to use "Only Show Translated Items" for ALL options, correct?

This DOES fix the Duplicate Query Issue

February 15, 2024 at 12:51 pm #15307135

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Yes that was the option I meant.

So please keep that option and if you want to have the same page available on a translation you can use the duplication method:

https://wpml.org/documentation/translating-your-contents/displaying-untranslated-content-on-pages-in-secondary-languages/#how-to-duplicate-pages-and-posts-in-bulk

Our second tier support reported the duplicate queries issue to the development team in "Translatable | use translation if available or fallback to default language" option mode.

Thanks.

February 16, 2024 at 6:25 pm #15312841

tannerT

Great, please update me on resolution so we can enable this option again

February 17, 2024 at 9:15 am #15313519

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

Sure, just to be on the same page it will take time and if there is a fix it will be in upcoming releases.

You can always check our changelog for new versions to see if the particular bug in question is fixed on that version or not.

Thanks.