Skip to content Skip to sidebar

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

Problem:
The client is experiencing an issue where the Dutch archive for their 'destinations' taxonomy incorrectly loads posts from other terms after the initial correct batch. This problem occurs during AJAX pagination and affects archives like /nl/bestemmingen/azie/japan/.
Solution:
We identified that the theme's AJAX filter might not be compatible with WPML. Our 2nd Tier Support suggests either keeping the 'destination' taxonomy untranslated or deactivating the AJAX pagination plugin as potential solutions. Unfortunately, due to the theme's limited use and lack of compatibility with WPML, further investigation by our support team will not proceed. If deactivating AJAX pagination is a temporary workaround, we recommend contacting the theme developers for a permanent fix, providing them with details of the issue.

Please note that this solution might be outdated or not applicable to your specific case. 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 9 replies, has 0 voices.

Last updated by kelvinV 2 months ago.

Assisted by: Kor.

Author Posts
April 28, 2025 at 9:23 am

kelvinV

Background of the issue:
I am trying to make the Dutch archive for our 'destinations' taxonomy (for example /nl/bestemmingen/azie/japan/) continue to load only the Dutch 'Japan' posts, and never pull in posts from other terms after the first load. The issue can be seen at hidden link. This also happens on /nl/bestemmingen/azie/thailand/.

Symptoms:
After loading the first 10 posts correctly, the next batch is a random mix of posts from other 'destinations' (Bali, Mexico, Australia, etc.).

Questions:
Why are posts from other 'destinations' appearing after the first load?
How can I ensure only Dutch posts from that archive are loaded in the archive?

April 28, 2025 at 9:36 am
April 28, 2025 at 9:45 am #16974045

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

I prepared a sandbox site for you here hidden link . Please install the theme and the required plugins to replicate the issue.

May 2, 2025 at 3:45 am #16987859

kelvinV

Hi Kor

Sorry for the late reply, I never got an email saying this ticket was created. I have just now installed the theme and its essential plugins on the demo website.

Thank you for looking into this!

Kelvin

May 2, 2025 at 4:24 am #16987876

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. Could you replicate the issue on the sandbox site so that it looks like the page you've created here? hidden link

You can use this link to login hidden link

May 5, 2025 at 2:26 pm #16996817

kelvinV

Hi Kor

I've setup a minimal version of the website, and the same issue can be found here:

hidden link

or

hidden link

I sometimes see English posts in between Dutch posts (something I don't experience on our site), even though posts are set to non-translatable. When trying to reproduce the issue, I noticed that without using the string translator to translate the custom taxonomy, the issue didn't appear. Only after I translated "Destination", "Destinations" and the slug (to Bestemming, "Bestemmingen" and bestemming) the infinite load issue happens. Thought I'd let you know!

Also, I've used the demo content and created dummy/empty posts to test as setting everything up already took way longer than anticipated. Hope you are able to figure out the issue!

Thank you already,
Kelvin

May 6, 2025 at 4:37 pm #17002886

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. I will check your setup and I will come back to you soon.

May 7, 2025 at 7:35 am #17004736

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience. I can see the issue after translating the "Destinations" taxonomy. Please allow me to escalate this to our 2nd Tier Support for further investigation. I will come back to you once I've feedback.

May 7, 2025 at 8:45 am #17005039

kelvinV

Thanks Kor!

I'll be patiently waiting the 2nd tier support.

Kind regards
Kelvin

May 11, 2025 at 7:55 pm #17020655

kelvinV

Hi Kor

Hope all's well. I was wondering how you guys were getting on with finding the issue. Is there anything from my side I can do?

Thank you!
Kelvin

May 11, 2025 at 7:56 pm #17020657

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. Sorry for the delays, your report is still under investigation, and we'll get some updates soon.

May 13, 2025 at 2:52 pm #17028713

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

Our 2nd Tier Support couldn't find a workaround here. Also, since the theme is not listed as compatible, they recommend either keeping "destination" untranslated or deactivating the AJAX pagination plugin.

May 13, 2025 at 3:16 pm #17028823

kelvinV

Hi Kor

That's disappointing... Not translating "destinations" is obviously not an option, but we'll see if we can disable the AJAX pagination as a (hopefully temporary) workaround. I'll also reach out to the creators of the theme to see if they can fix it. Before I do this, could you tell me what you/2nd tier support are seeing/experiencing and what exactly the issue is? Like what do you think is wrongly implemented in the theme and should be fixed. Then I can provide the makers of the theme with as much technical information as possible, in order for them to fix this. Would be greatly appreciated!

Thank you for looking into this
Kelvin

May 13, 2025 at 3:46 pm #17028905

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thank you for your understanding, and I agree that leaving “destinations” untranslated is not a viable option.

Unfortunately, our 2nd Tier Support has opted not to investigate the matter further due to the very limited number of users for this theme, and no technical insights were provided regarding the root cause.

That said, the issue does seem to be linked to how the theme implements AJAX pagination.

May 13, 2025 at 4:08 pm #17029056

kelvinV

Hi Kor

That's a bummer. I'll pick this up with the makers of the theme then. Thank you for your time.