Skip to content Skip to sidebar

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:/ The is an issue with the Royal Elementor Addons plugin.
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.

Tagged: 

This topic contains 18 replies, has 2 voices.

Last updated by Itamar 1 year, 9 months ago.

Assisted by: Itamar.

Author Posts
July 23, 2024 at 10:21 am #15992013

alinaB-7

Hey Itamar,

thanks for finding the issue! It would be great if you could fix that for me, you have my permission to install the WP phpMyAdmin plugin. I will now do a full backup of the site.

Best,
Alina

July 23, 2024 at 1:48 pm #15992594

Itamar
WPML Supporter since 02/2016

Languages: Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi, Alina.

I've applied the workaround, and the problem is fixed now. The content in German, the default language, is shown now. Please check the link and the screenshot.

hidden link

Can you please confirm this and mark the ticket as resolved?

Thanks,
Itamar.

P.S. I removed the WP phpMyAdmin plugin.

2024-07-23_16-45-03.jpg
July 24, 2024 at 10:00 am #15997459

alinaB-7

Hey Itamar,

everything seems to be working fine. thanks for taking care of it!

Best,
alina

July 24, 2024 at 8:17 pm #16000213

Itamar
WPML Supporter since 02/2016

Languages: Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Great, Alina, I'm glad to hear that everything is alright now!

I'm setting this ticket as resolved.

Best Regards,
Itamar.