Skip Navigation

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.

Our wait time is higher than usual, please make sure you are meeting the minimum requirement - https://wpml.org/home/minimum-requirements before you report issues, and if you can take a look at current Known Issues - https://wpml.org/known-issues/. Thank you.
Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 -
- 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

This topic contains 0 replies, has 0 voices.

Last updated by Lucas Vidal de Andrade 17 hours, 47 minutes ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
March 27, 2025 at 12:14 pm #16868351

krisztianV

Background of the issue:
I've already translated multiple pages with WPML, but for some reason, I get a white page when translating the header. Additionally, when I open the translated page, the following error appears: "You must call 'the_content' function in the current template, in order for Elementor to work on this page." I checked similar topics, but I couldn't find a solution.

Symptoms:
I get a white page when translating the header. Error message: "You must call 'the_content' function in the current template, in order for Elementor to work on this page."

Questions:
Why do I get a white page when translating the header?
How can I resolve the error message related to 'the_content' function and Elementor?

March 27, 2025 at 1:47 pm #16868783

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

I would like to look at this directly on your site. For this I would need temporary access (WP-Admin and FTP) to your site, preferably to a test/staging site where the problem has been replicated if possible.

The required fields can be found below the comments section. The information you enter is private, i.e. only you and I can see it and have access to it.

I may need to replicate your website locally. To do this, I need to temporarily install a plugin called "Duplicator" or "All in One WP Migration" on your website. This will allow me to create a copy of your website and content. Once the issue is resolved, I will delete the local website. Let me know if this works for you.

IMPORTANT

Please make a backup copy of the site files and database before giving us access.

- If you do not see the wp-admin/FTP fields, this means your post and site login details are being made PUBLIC. DO NOT post your website details if you do not see the required wp-admin/FTP fields. If you do not, ask me to enable the private box. The private box looks like this:

hidden link

March 27, 2025 at 3:33 pm #16869427

krisztianV

I added your mail to Zero trust. You should add this on CF security page and CF will send you the code.

March 27, 2025 at 4:49 pm #16869812

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

I couldn't log in. I'm inserting my e-mail in the form, but I'm not receiving the code. I tried a couple of times and made sure my e-mail was inserted correctly. Can you please check? Thanks in advance.

March 27, 2025 at 4:57 pm #16869819

krisztianV

I dunno why this is not working because the email is in the allowed group. Anyway temporary I removed CF from the site. Now you can reach it without CF page.

March 27, 2025 at 8:14 pm #16870385

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello, when clicking the link, I'm receiving a 500 error. As an alternative, you can provide me with a copy of your website.

You can check the steps here:
https://wpml.org/pt-br/faq/provide-supporters-copy-site/

If it fails with Duplicator, you can use All In One WP Migration. Let me know.

March 27, 2025 at 9:57 pm #16870543

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello,

Thank you for sharing the copy. I wasn't able to reproduce any of the issues in the copy I created locally. I tried:

1. Going to Headers and clicking on the pencil icon to edit the Desktop V2 translation. No issues there;
2. Editing the German home page using Elementor. No issues as well;

Can you please send me a screen recording, showing the errors on your side? I recommend Loom for screen recordings, it's free for short videos:
hidden link

This way I can better understand the problem.

P.S: Please note that when translating content with the translation editor it's not recommended to edit the translations using Elementor or the regular WordPress Editor, as it can lead to issues.

March 28, 2025 at 10:50 am #16872183

krisztianV

Hi,

Here is the link to the screen recording: hidden link

As you can see, the header translated into German is not appearing, and when I try to edit it with Elementor, I get an error. I understand that editing a translated header is not ideal, but that’s a separate issue. Unfortunately, the translated page does not match the original. The dropdown menus are different, and buttons that should not be visible to a guest user are showing up. Unfortunately, I cannot fix this without making modifications. Do you have any idea why it is different?

March 28, 2025 at 11:47 am #16872652

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

Thank you for sharing the details. To verify if the issue was related to WPML, I deactivated all WPML plugins and made some tests. The problem persisted, even with all WPML plugins deactivated. That means that WPML is not the root cause of this issue. Please check here:

hidden link

This was done in a local copy. I recommend you to check if there's any conflict and reach out to your theme developer, to see if they can support you on this matter.

March 28, 2025 at 11:49 am #16872655

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

About the translated page that does not match the original, please show me some example, so I can check that directly (screenshots and the page URL). Please note that we always need concrete examples of issues, so we can check them.

This seems to be another issue, unrelated to the Elementor one I previously mentioned.

April 3, 2025 at 1:39 pm #16892674

krisztianV

Unfortunately, the automatic header translation still doesn't work perfectly, but I managed to resolve it by duplicating it, allowing me to translate and modify the header. However, my current issue is that the mega menu doesn't appear on the translated page. I checked all the topics but couldn't find a solution for this.

April 3, 2025 at 5:45 pm #16894440

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello,

I checked on the copy you sent latest, but also couldn't check on how to make the header show, neither the Mega Menu. Please note that your theme is not WPML compatible, and apparently is not fully multilingual ready. So I'm looking for workarounds and ways to make it work with WPML.

Please send me a fresh copy of your website again, so I can check an updated version. I've enabled the fields for you to share the Duplicator package.

April 7, 2025 at 10:35 am #16903622

krisztianV

As you requested, I completed the basic installation, but unfortunately the mega menu still doesn't appear. In the meantime, I checked the theme's website, where it says it is supposedly compatible with WPML.

hidden link

April 7, 2025 at 12:17 pm #16904190

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

I couldn't see any differences in the testing environment I've created. It seems to be exactly as I left it. To confirm that, I need to be able to check your tests. Please follow the steps in my last message, by accessing the website with the link, and let me know. This way, I can confirm the compatibility.

April 8, 2025 at 6:18 am #16906840

krisztianV

Hi,

On the following link you can find the copy of the basic system. I installed only the Theme and required packages and added one german header with megamenu.

hidden link