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
\WprAddons\Classes\Utilities::get_template_slug
function within the
wp-content/plugins/royal-elementor-addons/classes/utilities.php
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.
Tagged: Bug, Compatibility
This topic contains 24 replies, has 2 voices.
Last updated by Andreas W. 1 year, 10 months ago.
Assisted by: Andreas W..
| Author | Posts |
|---|---|
| May 16, 2024 at 5:05 pm #15636368 | |
|
alexandreN-10 |
I am trying to: |
| May 16, 2024 at 5:09 pm #15636374 | |
|
Andreas W. WPML Supporter since 12/2018
Languages: English (English ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, In your example, I can see that even the English original content is not showing up. Do I understand right that the original content shows up if you disable WPML? It would also be very helpful if you could send us the WPML information for troubleshooting. Best regards |
| May 20, 2024 at 6:52 am #15643770 | |
|
alexandreN-10 |
that is debug information please assist us |
| May 21, 2024 at 1:54 pm #15651120 | |
|
Andreas W. WPML Supporter since 12/2018
Languages: English (English ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, Could you please increase your WP Memory limit to 256M? 128M is the minimum required by WPML. PHP Memory Limit 512M
define('WP_MEMORY_LIMIT', '256M');
Paste it just before: / That's all, stop editing! Happy blogging. / Now, verify the current settings at WPML > Support > WordPress. Then complete the translation again. These settings can be limited directly by your hosting provider, so I recommend you contact and ask them to modify them directly. https://wpml.org/home/minimum-requirements/ If this will still not solve the issue, please let me know. Best regards |
| May 22, 2024 at 8:37 am #15656316 | |
|
alexandreN-10 |
Hello andreas, |
| May 22, 2024 at 11:15 am #15657555 | |
|
Andreas W. WPML Supporter since 12/2018
Languages: English (English ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, I would like to offer to have a closer look at the problem and request temporary access (wp-admin and FTP) to the website to investigate this issue further. You can find the required fields below the comment section when you log in to leave the next reply. The information you provide is private, which means only you and I can see and access it. IMPORTANT I may have to install a plugin called "All In One WP Migration" to make a copy of the website where I can investigate the issue further. However, I would also be very grateful if you could provide a staging site or copy of the website from your server yourself for this purpose. If you have any questions about creating such a staging site, you can consult your hosting provider. Just take note that WPML should be registered on this site again. If you are unable to provide such a copy of the site for testing, please let me know on this ticket. The private response form looks like this: Next time you reply, click "I still need assistance." Video: Please note that we are obliged to request this information individually on each ticket. We may not access any access information not specifically submitted on this ticket in the private response form. Best regards |
| May 22, 2024 at 3:43 pm #15659161 | |
|
Andreas W. WPML Supporter since 12/2018
Languages: English (English ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
This seems to be an issue between Royal Elementor Addons and WPML. Take note, that this plugin is currently not compatible with WPML. https://wpml.org/compatibility/2021/08/the-best-elementor-addons-for-multilingual-sites/ We have been recently working with the author who added some compatibility code to its plugin to make it work with WPML. In this case, right now, I need to investigate further, what exactly is causing the issue and I need to ask you for some patience. |
| May 22, 2024 at 4:18 pm #15659250 | |
|
alexandreN-10 |
it means should i wait for get this done until when ? |
| May 22, 2024 at 10:45 pm #15659883 | |
|
Andreas W. WPML Supporter since 12/2018
Languages: English (English ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, I tried to replicate the issue on a test site importing your "About us" page and tested with the Royal Elementor Kit Theme, Elementor, Royal Addons for Elementor, and WPML. The issue does not occur on this test site. I then downloaded the All In One WP Migration from your site and installed it on localhost and the issue persists. I can find JavaScript errors when trying to find the content. The issue even persists if I duplicate the "About us" page so that it gets a new page ID, and delete all its widgets. Even trying to create a new page triggers the same error as long as the plugin Royal Addons for Elementor is enabled together with WPML. I need some more time to investigate the problem and will get back to you tomorrow. Best regards |
| May 23, 2024 at 5:42 am #15660273 | |
|
alexandreN-10 |
okay waiting |
| May 24, 2024 at 12:09 am #15665348 | |
|
Andreas W. WPML Supporter since 12/2018
Languages: English (English ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
My apologies, but I still was not able to find out what is causing the issue on your site. You can use the following link to revise the page on a test site that uses the same theme and plugins, and the issue does not occur here. I would like to invite you to connect yourself and try to recreate the issue: Maybe there is a setting used on your site that I am still missing on this setup? |
| May 25, 2024 at 3:29 am #15669593 | |
|
Andreas W. WPML Supporter since 12/2018
Languages: English (English ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
A question: If so, then the reason for the error could be missing Royal Addons Templates and Template conditions: Any additional information would be helpful in this case as I am stuck and not able to confirm a similar issue on a new WordPress install using the same plugins and configs. |
| May 25, 2024 at 3:43 am #15669595 | |
|
Andreas W. WPML Supporter since 12/2018
Languages: English (English ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
On my local copy of your website, the issue appears to be solved by editing the original Elementor page in Elementor Safe Mode and saving the page again. |
| May 27, 2024 at 9:06 am #15672910 | |
|
alexandreN-10 |
still now i have that issue after do what you recommended |
| May 28, 2024 at 3:27 pm #15679472 | |
|
Andreas W. WPML Supporter since 12/2018
Languages: English (English ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, I have the issue here, that I can not recreate the issue on a new test site so far. I will now escalate this issue internally so that our compatibility team can have a closer look into this issue. Take note, this issue disappears not only if you disable WPML. It also disappears if you disable Royal Addons for Elementor and I see that such issues have already been reported a few times to the Royal Addons team. Maybe you should consider replacing this addon with one of our recommended addons for Elementor: Best regards |


