Skip Navigation

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

Problem:
You are running a WordPress site with Elementor and the Real Homes theme, and after installing WPML, you noticed that existing posts, pages, and custom post types are not recognized as translatable. The content disappears from the admin, and the database lacks entries in the wp_icl_translations table. Attempts to manually insert rows into the translations table temporarily bring back the content, but this is not a sustainable solution.
Solution:
We recommend the following steps to resolve the issue:
1. Delete and reinstall the WPML plugins.
2. Deactivate all plugins and switch to a default theme, such as Twenty Twenty-Five. Then, reset WPML and reconfigure it. This step resolved the issue in our tests.
3. Reactivate your plugins and theme one by one to identify any conflicts. In this case, the WPvivid Database Merging plugin was found to interfere with WPML's setup. You can activate this plugin after WPML is fully configured without issues.
4. To further assist our compatibility team in addressing this issue, please replicate the conflict on a fresh WordPress site by installing WPML and the WPvivid Database Merging plugin, then configuring WPML to see if the issue reoccurs.

If this solution does not resolve your issue or seems outdated, please check for related known issues at https://wpml.org/known-issues/, verify you have the latest versions of themes and plugins, and consider opening a new support ticket at WPML support forum for further assistance.

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 1 replies, has 0 voices.

Last updated by Noman 1 week, 2 days ago.

Assisted by: Noman.

Author Posts
April 27, 2025 at 10:07 am #16971399

kaurM

Background of the issue:
I’m running a single-language (English) WordPress site using Elementor and the Real Homes theme. After installing WPML, I encountered issues with the initial setup where the plugin does not recognize existing posts, pages, and custom post types as translatable.

English is registered as the default language, but all existing content vanishes from the admin all pages, all posts, etc. In the database, posts and pages are missing from the table wp_icl_translations. I manually inserted a few rows into the translations table, and those test pages reappeared in the admin and front end, but this is not a permanent solution and we have hundreds of properties on the page.

I have tried resetting plugin settings, deactivating/reactivating the plugin, regenerating permalinks, and ensuring no other plugins or theme functions are interfering.

Symptoms:
The main filters in WP Admin show the correct total count, but the Translation/Language filters show zero items. Posts, pages, and custom post types are missing. Newly created pages fail to register in the translations table. On the front end, every page throws a 404 error.

Questions:
Is there a known conflict with Real Homes or single-language setups?
Which database tables or meta values should I inspect or rebuild?
Are there any debug logs or WP constants I can turn on to gather more information?

April 27, 2025 at 10:45 am #16972240

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting WPML Support. It seems something went wrong during the WPML installation. If it’s a new site with no translated content, you can reset WPML and set it up again.

To do so:

=== Please backup your database and website ===

- Please go to WPML >> Support >> Troubleshooting (the link is at the bottom of the support page). >> There, click on “Reset and deactivate WPML” >> then Delete the plugin.

- After deleting all WPML data and WPML-related plugins then please install WPML plugins again and I hope now you will not face any issues.

Here is the doc for more details:
https://wpml.org/documentation/getting-started-guide/language-setup/deleting-languages-and-plugin-data-by-doing-a-wpml-reset-on-your-site/#step-3-do-the-wpml-reset

Please let me know if this resolves the issue or if you need further assistance.

Thank you

reset wpml.png
April 27, 2025 at 12:10 pm #16972309

kaurM

I’m encountering a persistent issue right after a clean WPML install. Here’s what I’ve done so far:

Did the reset you suggested.
Deleted all WPML plugin files
Reinstalled WPML (core + add-ons)
Ran the setup wizard again, selecting my languages and URL format
Flushed permalinks

I ended up with the same result, no pages, posts, and 404.

April 27, 2025 at 2:51 pm #16972437

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thanks for trying it. Could you please try to follow the steps below and let me know how it goes:

1. Please take a backup of your site first for safety reasons.

2. The current WP Memory Limit on your site is 40MB. The WP memory limit needs to be increased, it's different from PHP memory. PHP memory is fine but WordPress uses 40MB as default in your site. The minimum requirements for WPML are 128MB: https://wpml.org/home/minimum-requirements/

Please add this line to your wp-config.php file to increase WP memory, wp-config.php file is located in the root of your WP install:

/* WP Memory Limit */
define('WP_MEMORY_LIMIT', '256M');

You can add it anywhere in your file. I recommend placing it right before the following line:

/* That's all, stop editing! Happy blogging. */

3. Please go to WPML >> Support >> Troubleshooting page and press the below buttons:
- Clear the cache in WPML
- Synchronize posts taxonomies
- Remove ghost entries from the translation tables
- Synchronize local job ids with ATE jobs
- Synchronize translators and translation managers with ATE
- Assign translation status to duplicated content
- Fix post type assignment for translations
- Set language information

4. Re-save Permalinks from the Settings >> Permalinks page by pressing the Save Changes button.

5. Clear all sorts of site/server/CDN cache and see if this resolves the issue.

6. If the issue persists, please enable error reporting on your site as we need to see the details of the latest error log to understand the cause of the issue better. To enable it, open your ‘wp-config.php’ file and look for ‘define(‘WP_DEBUG’, false);’. Change it to:

// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
 
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
 
// Disable display of errors and warnings
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
 
define( 'SCRIPT_DEBUG', true );

After adding the above code, please try reloading the backend/frontend again, and if this process creates a debug.log file in your site's wp-content directory. Please send us its contents.

Here is a doc for more details:
https://wpml.org/documentation/support/debugging-wpml/

Kindly let me know the results,
Thank you

April 30, 2025 at 11:57 am #16983649

kaurM

Hi WPML Support,

Thank you for the follow-up.

Despite following the provided steps, the issue with the plugin not recognizing existing content during setup persists.

I have attached the debug.log file for further investigation. Please let me know if you need any more information.

Thanks,
Kaur

debug.jpg
April 30, 2025 at 1:30 pm #16984215

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thanks for trying the above suggested steps. We have recently released WPML 4.7.4, Could you please take a backup of your site and update it to the latest version. You can update it from Plugins >> Add New Plugin page, click the Commercial tab, and then click the “Check for updates” button. Here is the screenshot for more details: https://wpml.org/wp-content/uploads/2020/04/wpml-force-plugin-update-1.png

If the issue persists, please provide temporary access (WP-Admin and FTP Login info) to your site (preferably staging site), so that I can look into your setup and debug the issue.

Your next answer will be private, meaning only you and I can access it.

=== Please backup your database and website ===

✙ I would additionally need your permission to deactivate and reactivate Plugins and the Theme and to change configurations on the site. This is also a reason the backup is essential.

Thank you

April 30, 2025 at 2:34 pm #16984541

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thanks for providing the login details. I tried to login to your site but the login info is not working for me. Could you please provide me with a working login so that I can take a closer look at this issue.

Thank you for your cooperation

April 30, 2025 at 4:19 pm #16984918

kaurM

The new user has been created. The password is the same as before.
Please try again.
Thank you.

April 30, 2025 at 7:24 pm #16985209

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

I followed these steps on your site:

1. Deleted and reinstalled the WPML plugins.

2. Deactivated all plugins, switched to a default theme (like Twenty Twenty-Five), reset WPML, and reconfigured it, the issue was resolved.

3. I then reactivated the plugins and theme one by one, and found that the WPvivid Database Merging plugin is causing the issue.

If this plugin is active during the WPML setup, it causes problems. However, it can be safely activated after WPML is fully configured.

It seems there might be a compatibility issue between WPML’s setup wizard and the “WPvivid Database Merging” plugin. To escalate this to our compatibility team, we need to reproduce the conflict on a fresh WordPress site.

So, I created a fresh WP site and installed WPML plugins. Could you please try to replicate the issue by following the below steps:

1. Login to the fresh WP site by clicking on the auto login URL:
hidden link

2. Install the “WPvivid Database Merging” plugin and configure it as you did on your site.

3. Try to configure the WPML plugin and let me know how it goes.

Please note that we only need above mentioned plugin functionality, you don't need to set up an entire website or clone your existing site.

Please let me know the results,
Thank you for your cooperation

May 1, 2025 at 8:31 am #16985878

kaurM

Hi,

I’ve installed the WPVivid Merging plugin and set up WPML with the same configuration as we have on our site. Initially, I received the error: "Sorry, you are not allowed to access this page." However, after pressing the back button and going to the "All Pages" view, everything seems to be working fine now.

Let me know if you need any further details.

Thanks!

May 1, 2025 at 6:59 pm #16987241

kaurM

Hi Noman,
One more question: I noticed that WPML has a separate plugin for Elementor integration, but it is not currently installed.

Does this plugin allow switching languages directly within Elementor?
If so, how can I install it?

May 4, 2025 at 9:37 am #16992944

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Sorry for the delay, I was off during the weekend (Friday-Saturday).

1. Thanks for testing that at the fresh WP site. Since the issue didn’t occur consistently on the clean site and was resolved after a simple refresh, it seems to be a temporary glitch or a site-specific condition, rather than a compatibility issue.
Let me know if the problem happens again consistently, and we’ll be happy to investigate further.

2. You don’t need an extra plugin to translate Elementor content. If you're using standard Elementor widgets that are compatible with WPML's Translation Editor, everything should work smoothly.

However, if you're using custom Elementor widgets or third-party add-ons, you might need to register those for translation. You can follow this guide for that:
https://wpml.org/documentation/support/multilingual-tools/registering-custom-elementor-widgets-for-translation/

Let me know if you need help with that!

Thank you for your cooperation and patience

May 5, 2025 at 11:33 am #16995841
kaurM

Hi Noman,

First of all, thank you very much for your help!

I was able to translate the site quite well overall, but 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!

New threads created by Noman and linked to this one are listed below:

https://wpml.org/forums/topic/encountered-a-problem-with-one-of-the-search-forms/

May 5, 2025 at 12:14 pm #16996112

kaurM

I tested the WPML Multilingual Tools plugin as you suggested.

I followed the instructions:

I created a new page
Added the widget
Translated it into Spanish
On the Translation Management page it shows that the page is translated (775 words) and there is a check mark under the Spanish language.

However, when I open the page in WordPress edit mode, WPML: Elementor Widgets displays the message:
"All widgets on this page are already registered."

Could you please help me understand if this is working correctly and, if not, how to proceed?
Thank you.

Screenshot 2025-05-05 at 14.08.38.png
Screenshot 2025-05-05 at 14.04.22.png
May 5, 2025 at 4:40 pm #16997377

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

1. The message "All widgets on this page are already registered" simply means that all the widgets used are already compatible with WPML's Translation Editor. There are no custom widgets needing manual registration, so everything is working as expected. Nothing to worry about.

2. For the search form problem, it’s a different issue and will be handled separately as per our support policy. I've created a new ticket for this at: https://wpml.org/forums/topic/encountered-a-problem-with-one-of-the-search-forms/

If the initial setup issue is solved, please mark this ticket as resolved and we will continue working on the above ticket for it.

Thank you for your cooperation