[Resolved] Encountered a problem with one of the search forms
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.
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
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?
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.
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.
- 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.
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.