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.

This topic contains 8 replies, has 2 voices.

Last updated by ruiP 1 year, 3 months ago.

Assisted by: Osama Mersal.

Author Posts
January 20, 2023 at 8:58 am #12857271

ruiP

I have 3 languages: English (Default), Portuguese and Chinese.
Elementor works fine in English but not working in Portuguese. It displays the following error:

You must call the_content function in the current template in order for Elementor to work on this page.

I've seen that You need memory limits of at leats 256MB. I have them at 512MB.

January 22, 2023 at 7:38 am #12865775

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

1) Would you please let me know the steps to reproduce the issue?

2) Please check if the issue persists in a minimal environment by following these steps.

1- Deactivate all the plugins except WPML CMS, String Translation, Elementor, and Elementor Pro.
2- Switch to a WordPress default theme like Twenty Twenty-one.

If the issue is gone, activate them one by one to see which is causing an interaction issue.

❌ Please backup your database before performing the above test ❌

Best regards,
Osama

January 26, 2023 at 2:44 am #12894483

ruiP

Hello Osama,
The issue happens when editing pages in Portuguese with elementor.
Interesting fact is that I can edit the homepage but not the other pages.
I cannot deactivate plugins or change theme since it's a production site. is there another way to do check this?

Regards,
Raffaele Colleo

January 26, 2023 at 8:26 am #12895403

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi Raffaele,

Thanks for your reply. I would need a site snapshot if possible. We usually recommend the free Plugin “Duplicator” for this porpoise.

If you already know how Duplicator works. (http://wordpress.org/plugins/duplicator/),
please skip the following steps and send me the installer file and the zipped package you downloaded.

★ Duplicator Instructions (hidden link)

Send me both files (you probably want to use DropBox, Google Drive, or similar services, as the snapshot file will be quite big)

I will enable your next answer as private, so you can securely provide me with the information.

Best regards,
Osama

January 26, 2023 at 9:29 am #12895745

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Sure, but please exclude the uploads folder if it's too big.

Thanks,
Osama

January 26, 2023 at 12:19 pm #12897309

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for the package. Could you please try the following tests on your site?

1) Deactivate the WPML CMS plugin approach:
1- Edit a translated page using Elementor
2- After facing the issue, deactivate WPML
3- Edit the same page using Elementor

2) Change the theme approach:
1- Activate Twenty Twenty-One theme
2- Activate WPML
3- Edit the same page using Elementor

❌Please backup your database before performing the above tests❌

It would be better to perform these tests on a staging site. Please let me know the results of these tests on your site.

On my local copy of your site, I faced the issue with WPML being deactivated. However, when changing the theme, Elementor worked correctly.

Best regards,
Osama

January 27, 2023 at 4:05 am #12901681

ruiP

I found something interesting... translating a custom post that doesn't happens. Elementor works great. Why?

January 27, 2023 at 4:47 am #12901745

ruiP

Found the problem. the page slug cannot be team because it conflicts with a custom post/theme shorcode (something like this). Problem solved.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.