Skip Navigation

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

Problem:
If you're experiencing issues with a search form from the Real Homes theme not displaying in Spanish on a specific page, despite working correctly on another, the issue might be related to database corruption.
Solution:
First, ensure you have a backup of your site. If the problem persists, you might need to run a SQL query to fix a corrupted database table. Here's the query you might need:

ALTER TABLE `gzjbzwdm_icl_string_packages`<br />CHANGE `post_id` `post_id` bigint(20) NULL AFTER `view_link`;

Make sure to replace 'gzjbzwdm_icl_string_packages' with the actual table name in your database. After running this query, try sending the page for translation again.

If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, 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 problems persist, 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 20 replies, has 1 voice.

Last updated by Dražen 1 month ago.

Assisted by: Dražen.

Author Posts
May 5, 2025 at 3:01 pm #16997007

kaurM

Hi,

I encountered a problem with one of the search forms that comes from the Real Homes theme. I just can’t get it to display in Spanish.

Interestingly, on another page, the exact same form was automatically translated correctly. I copied this form to a new page, but now the language can no longer be changed.

Here is the page where the problem occurs:
hidden link

And here is the page where the same form works and changes language as expected:
hidden link

Could you please help me resolve this issue?

Thanks again for your assistance!

May 6, 2025 at 7:01 am #16999372

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

Is a different form being used on this page? Could you also let me know if there is a template assigned to this page, category, or property search—and if so, whether both the template and the form are translated?

https://wpml.org/documentation/plugins-compatibility/elementor/#how-to-translate-elementor-with-wpml

different forms.jpg
May 6, 2025 at 8:05 am #16999765

kaurM

Hi Bruno,

Both search widgets are identical—I created a new page and copied the same form there. Neither page uses a template because this form is only needed in two specific places on the entire site.

May 7, 2025 at 6:16 am #17004355

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

Thanks for getting back.

I am checking your mentioned ES page, and I can see the form there and properties showing fine. Just to confirm issue is that text in search form is not translated? Since I see it shows English "regions" and etc, instead in Spanish.

Regards,
Drazen

May 7, 2025 at 7:17 am #17004684

kaurM

HI Drazen,

Yes, exactly.
Where can I translate the form into Spanish?
Thanks.

May 7, 2025 at 7:20 am #17004691

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

thanks.

I would need to check how this form / theme works in order to suggest a solution.

Please share the access details of your website, so I can log in and take a look.

I’m enabling a private message for the following reply.

We have strict policies regarding privacy and access to your information.

Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/


- Please backup the site files and database before providing us access. 

- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.



Thanks,
Drazen

May 7, 2025 at 8:24 am #17004960

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

thanks.

I have updated the theme and disabled some plugins to test further. I checked and there is an error when saving page icl_string_batches table does not exist.

I see this is your staging site, still I do not wish to do major changes, can you please confirm / make a backup, and then I will proceed to alter this DB table and create it as it needs to be.

Regards,
Drazen

May 7, 2025 at 8:32 am #17004994

kaurM

The backup is being created. I'll let you know as soon as it finishes.

May 7, 2025 at 9:04 am #17005207

kaurM

The backup has finished. Please proceed.

May 7, 2025 at 9:45 am #17005370

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

Thanks, I have created the missing table, but it still does not show up for translation.

I have also tested on new test site, and there it works fine, so it seems the issue is specific to your website.

Is it okay to take a copy to debug the issue further?

Thanks,
Draen

May 7, 2025 at 9:46 am #17005387

kaurM

Yes. Please do.
Thank you.

May 7, 2025 at 11:01 am #17005851

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

thanks I will take a copy and further check.

Regards,
Drazen

May 7, 2025 at 11:25 am #17006096

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

I could not find any clue, so I have escalated this to our 2nd tier.

I will update when I have some news, note it may take a day or two.

Regards,
Drazen

May 7, 2025 at 11:26 am #17006129

kaurM

Thank you.

May 13, 2025 at 3:13 pm #17028818

kaurM

Hi Drazen,

I hope you’re doing well! I wanted to check in and see if there has been any progress on the issue.

Thank you!
Kaur