Skip to content Skip to sidebar

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

Problem:
The client is experiencing issues with the search functionality on their multilingual website using WPML. Specifically, search results are displayed correctly in the default language (NL), but no results are found in other languages (e.g., EN). Disabling the WPML String Translation plugin temporarily resolves the issue, indicating a potential compatibility problem with the theme or incorrect URL parameters being added.
Solution:
1. Verify that the theme is updated to the latest version.
2. Check if the URL parameters are being translated by WPML String Translation and adjust if necessary.
3. Test the search functionality in a minimal environment to rule out conflicts with other plugins or database issues.
4. If the issue persists, consult the theme support for potential known issues or fixes.
5. Review the WPML errata documentation for any related known issues: https://wpml.org/errata/wpresidence-no-results-found-in-advanced-search/

If this solution does not resolve the issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend opening a new support ticket. Also, ensure you have the latest versions of themes and plugins installed. For further assistance, please visit our support forum: 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 22 replies, has 2 voices.

Last updated by Bobby 1 year, 5 months ago.

Assisted by: Bobby.

Author Posts
September 2, 2024 at 4:35 pm #16132914

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

I will await your reply.

September 2, 2024 at 7:40 pm #16133450

guntherD-3

Hello Bobby,

I made an export of the WPResidence settings and imported it at the sandbox site. I've added a new language (Dutch) and translate the property. Everything seems working at the sandbox site. On the sandbox site, the URL is still containing the "?lang" tag.

hidden link

--

I've just made a copy of the sandbox site (plug-ins) and upload it to our own preview website (hidden link). So we have all original plug-ins from sandbox active on the preview website and all other disabled.

Now, the English search seems to be working: hidden link

It's displaying 8 results.

When I go to the German site and search, we don't get any results: hidden link

No results found.

--

Is there some caching/indexing in WPML or WPResidence that can cause problems?

September 3, 2024 at 11:51 pm #16138084

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

Hi there,

Our team was able to find what is causing this behavior and we have published an errata documentation.

Please review it here and let me know your results.

September 4, 2024 at 11:40 am #16140151

guntherD-3

Hello Bobby,

Thank you! The field keyword is indeed filled. How can we remove the existing translation?

September 4, 2024 at 12:39 pm #16140416

guntherD-3

Please see

Schermafbeelding 2024-09-04 om 14.38.41.png
September 4, 2024 at 8:49 pm #16142684

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

Thank you for the screenshot!

As long as it is translated to 'keyword' matching the original string it is OK.

the EN translation is OK but the Fi needs to be adjusted.

Let me know your results, please.

Screen Shot 2024-09-04 at 1.48.50 PM.png
September 5, 2024 at 8:12 am #16143545

guntherD-3

Hello Bobby,

The workaround seems to be working. Perfect. Thank you!

September 5, 2024 at 8:51 pm #16146862

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

Glad to hear that!

Have a great day, and if further assistance is required by us please feel free to open a ticket and our team will help.