This thread is resolved. Here is a description of the problem and solution.
Problem:
After activating the WPML Plugin, all original content on the site disappears except for the homepage. Deactivating WPML restores the content. The issue is linked to the \WprAddons\Classes\Utilities::get_template_slug in the royal-elementor-addons plugin, where a specific template slug causes the content to disappear when WPML is active.
Solution:/
To resolve this issue, follow these steps:
1. Back up your site's database.
2. Access your site's database (using the tool provided by your hosting service).
3. In the
wp_options
table, search for the
option_name
'wpr_single_conditions' or run the following SQL query:
SELECT * FROM `wp_options` WHERE `option_name` LIKE '%wpr_single_conditions%'
4. Replace the content of this option from:
{"user-single-travel-blog-v1-post":["single/posts/all"],"user-single-travel-blog-v1-page":["single/pages/all"],"user-single-404":["single/page_404"]}to:
{"user-single-404":["single/page_404"]}5. Save the changes.
This adjustment should restore the visibility of your original content while WPML is active.
Please note that this solution might become outdated or may not apply to your specific situation. We recommend checking the related 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.
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.
This topic contains 18 replies, has 2 voices.
Last updated by 1 year, 9 months ago.
Assisted by: Itamar.
