[Resolved] why if i activated wpml plugins content on website disappeared
This thread is resolved. Here is a description of the problem and solution.
Problem: You are trying to translate a page into French using WPML, but nothing is displayed on the website. This issue is due to an incompatibility between Royal Elementor Addons and WPML. Solution: The problem occurs in the
file. Royal Addons is attempting to find a non-existent template, which leads to a NULL return. To resolve this, access your database, locate the 'wpr_single_conditions' option in the WordPress Options table, and delete its value. After making this change, the issue should be resolved.
If this solution does not apply to your case, or if it seems outdated, we recommend opening a new support ticket. Additionally, 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. For further assistance, please visit our support forum at WPML support forum.
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.
if i change the addons what about the data migration i will not loose my work so far i have done ?
because that plugin royal elementor concerns 90% of work i have done ?
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Thank you for your message!
If most of your content is using widgets from Royal Elementor Addons then I can not suggest that you use another addon.
If you disable Royal Elementor Addons then the widgets from this plugin will no longer show up on the site. I suppose you would need to replace all widgets using widgets from another addon.
Also, we are constantly working on making all available Elementor Addons compatible, and we assure you that if issues occur, then we are here to help.
For now, please wait for the feedback from our team, as this seems to be a kind of an edge case, which I was not able to replicate on a new install of WordPress using the same plugins and the same content.
In this case, Royal Addons is trying to find a template called "user-single-dance-studio-v1-page" by doing:
if ( ! $templates_loop->have_posts() ) {
if ( defined('ICL_LANGUAGE_CODE') ) {
$original_post = get_page_by_path($template, OBJECT, 'wpr_templates');
But this returns 'NULL' for $original_post and hence instead of returning '$template = null;' it returns '$template = "user-single-dance-studio-v1-page";'
As far as I can see, the template is defined in the option key "wpr_single_conditions"
Removing that option key fixes the issue.
---
This means you need to connect to the database, look for the option name "wpr_single_conditions" and delete its value from the table.
If you would like me to take another look into this, please let me know.
The issue is related to the plugin's code and it seems that this occurs if a template was deleted from the site, could this be?
I have seen similar requests on their support forum. Maybe you should open a ticket ton their forum and report our findings.
yes Andreas take a look again and change what i want to make things work perfectly thanks
according to our different time zone it seems i am lacking of get back to you or respond in quick time can i share my WhatsApp number so if you reply in this support forum just let me know so i can come to respond you quickly because this issue take a lot time and we want a website to be up and run in next few days and we are stuck because we cant translate the content which is not seen on front end
hello Andreas i hope you are doing well big thanks for the support the problem is solved but there is one simple issue can you take a look on navbar assist us again i think it lacks the css class
New threads created by Andreas W. and linked to this one are listed below:
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
I am glad to hear that we found a solution for the issue.
About the language switcher:
I need to investigate this issue further and would like to split it into a new ticket. You will receive an e-mail notification once I reply to this new ticket shortly.