Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem: Recently, we've been having problems with Elementor unable to find 'the_content' and displaying an error when attempting to load the Elementor interface. When entering Elementor safe mode, this error goes away (safe mode will disable external plugins)

Solution: Seems a different plugin was actually causing the problem, but disabling WPML resolved it. After further testing I isolated the issue to a regression error on the other plugin's part.

Relevant Documentation:

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 3 replies, has 2 voices.

Last updated by Carlos Rojas 1 year, 12 months ago.

Assigned support staff: Carlos Rojas.

Author Posts
June 17, 2019 at 8:54 am #4033483

ding-lunY

Hi there,

I am writing to open a ticket on the following issues. I've actually opened up a ticket on this issue before, but I had to close it prematurely due to business travel and only now have time to follow up. Here's the link to the original thread:

https://wpml.org/forums/topic/elementor-and-the_content-errors/#bbp-new-topic

"Recently, we've been having problems with Elementor unable to find 'the_content' and displaying an error when attempting to load the Elementor interface. When entering Elementor safe mode, this error goes away (safe mode will disable external plugins).

This error seems to only occur on special templates - Header, Footer, Single Page Templates for Custom Post Types. On normal pages, there are no issues. We disabled all our plugins on a development site and determined that the original WPML plugin by itself seems to be the culprit.

Are there any leads on how to rectify this issue? I don't know if it may have been caused by a recent update either by Elementor or by WPML. I am capable of performing workarounds in PHP if that is what it takes to fix."

Following up:

I've done a bit of additional tweaking and found that rolling Elementor back to a months-old version (5.9 or so) has no effect on the bug, nor does rolling back WordPress Core.

Further questions for WPML staff - Is an author-level role adequate, or would WPML staff require admin-level access for testing purposes?

June 17, 2019 at 9:08 am #4033563

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hello,
Thank you for contacting WPML support.

I would like to ask you to follow this steps in order to isolate the cause of the issue:
- Back up your site first before making any change, this is for security reasons.
- Update all outdated plugins and themes. We released a new WPML version today that you might found in Plugins -> Add New -> Commercial tab.
- Flush any cache memory that might exists.
- Deactivate all the plugins that are not related to WPML and Elementor.
- Switch for a moment to a WordPress default theme like Twenty Seventeen.
- If the issue is gone, activate one by one to see with which one there is an interaction issue.

Could you tell me the result of this steps?

Kind regards,
Carlos

June 20, 2019 at 3:40 am #4056317

ding-lunY

My issue is resolved now. Seems a different plugin was actually causing the problem, but disabling WPML resolved it. After further testing I isolated the issue to a regression error on the other plugin's part.

June 20, 2019 at 6:14 am #4056833

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hi there,

I'm glad to hear that the issue is solved 🙂

Please don't hesitate to contact us if you need our help in the future with WPML. We will be more than happy to help.
Best regards,
Carlos