[Resolved] Pages not displaying after enabling WPML translations
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing an issue where the homepage disappears after activating WPML, although other pages display normally. This problem is specifically occurring with custom Elementor elements on the homepage when the WPML String Translation plugin is active. Solution: 1. Back up the site before making any changes. 2. Create a new test page in Elementor and set it temporarily as your homepage (go to Settings → Reading → Homepage and select your new page). Check if this new homepage appears correctly with WPML activated. 3. If the test homepage works, the problem likely lies with specific content or widgets on your original homepage. Begin copying your original homepage content, section by section, into the new test page. After adding each section, check if the homepage still displays. This will help identify if a particular widget or block is causing the issue. 4. If you discover a problematic section or widget, consider rebuilding that part using only standard Elementor elements, as custom or third-party widgets may cause compatibility issues with WPML. 5. Once you have a working homepage, set this new page as your official homepage under Settings → Reading. 6. Reactivate all other plugins one by one to confirm there’s no additional conflict.
If these steps do not resolve the issue or if the solution seems outdated, 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 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.
Background of the issue:
I am trying to enable WPML translations, but once WPML is activated, the homepage disappears. It works just fine with other pages. I have already received help from your support, but they closed the ticket. The issue can be seen at hidden link.
Symptoms:
The homepage disappears after activating WPML, while other pages work fine.
Questions:
Why does the homepage disappear after activating WPML?
How can I resolve the issue of the homepage not displaying?
2.- You mentioned you already created a test homepage site. Could you please set this test page as the homepage again and share the URL so I can confirm the problem persists?
Note: Make sure the actual homepage is translated and published in all secondary languages.
Hi there,
Thank you for sharing the debug information
Before asking for credentials to access the site, I kindly ask you to follow these steps:
- Create a full site backup
- Go to Plugins -> Add new -> Commercial tab -> Click on the button to look for updates and update the WPML plugins to the latest version
- Contact your hosting providers and ask them to upgrade the PHP version to v8.1 or v8.2
- Flush any cache memory that might exist
- Re-save the permalinks
- Double-check if the issue disappeared
Can you tell me the results of the steps described above?
1.- Please share the access credentials to the site in your next message, which I have set private. That way, we will be able to reproduce the issue and double-check the configuration.
Confirm you have created a full site backup that you can restore if necessary.
The homepage is the one called "Accueil". You can currently see it correctly because WPML is not activated : hidden link
As soon as you activate it, it disappears.
The other main pages are :
2. Formulaire et accès
3. Marchandises sensibles
Thank you very much for sharing the credentials requested.
I ran several troubleshooting steps, but the issue persists. I would like to ask your authorization to create a full site backup to send it to our 2nd-tier specialists so they can take a deeper look at this behavior.