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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Los_Angeles (GMT-07:00)

This topic contains 5 replies, has 2 voices.

Last updated by Bobby 1 year, 9 months ago.

Assisted by: Bobby.

Author Posts
August 8, 2023 at 6:31 pm #14171905

jeremiahB-3

Our site is located here: hidden link

The homepage is broken. It is not displaying Elementor content correctly. When logged in as an admin, the site does not show the page is editable/built with Elementor. Deactivating the WPML string translation plugin fixes the issue.

Please advise on troubleshooting steps.

August 9, 2023 at 5:54 pm #14177767

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hello,

I would need to see the detail of the error to better understand what causes this.

You can see how to enable debug logging here:
https://wpml.org/documentation/support/debugging-wpml/

Go into your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to:
define('WP_DEBUG', true);

Edit your wp-config.php file and add these lines, just before it says 'stop editing here':

ini_set('log_errors',TRUE);
ini_set('error_reporting', E_ALL);
ini_set('error_log', dirname(__FILE__) . 'https://cdn.wpml.org/error_log.txt');

This will create an error_log.txt file in your site's root directory. Please send me its contents.

August 11, 2023 at 1:32 am #14185681

jeremiahB-3

Hey Bobby,

I've tried these steps, but we're not seeing any errors (either displayed visibly) or in the log. I've included the only logged WPML item below:

[10-Aug-2023 10:00:43] WARNING: child 342 said into stderr: "NOTICE: PHP message: PHP Warning: Undefined array key "fields" in /www/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/class-wpml-elementor-translatable-nodes.php on line 38"
[10-Aug-2023 10:00:43] WARNING: child 342 said into stderr: "NOTICE: PHP message: PHP Warning: foreach() argument must be of type array|object, null given in /www/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/class-wpml-elementor-translatable-nodes.php on line 38"

If it helps, you can see the issue for yourself by logging into the site. Let me know the best way to provide the login info.

Thanks,
Jeremiah

August 11, 2023 at 1:32 am #14185683

jeremiahB-3

Here was an additional error captured today:

172.56.209.246 - 11/Aug/2023:01:26:56 +0000 "POST casa-presente.mysites.io/wp-json/wpml/tm/v1/ate/jobs/retry" 200 /www/index.php - - 746.940 107520 89.70%

August 12, 2023 at 12:43 am #14191055

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you for sharing this, unfortunately, they do not point to a clear issue as you mentioned.

I would like to request temporary access (wp-admin and FTP) to your site to test the issue.
(preferably to a test site where the problem has been replicated if possible)

**Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken **

I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/
You will find the needed fields for this below the comment area when you log in to leave your next reply.
The information you enter is private which means only you and I have access to it.

NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin.

Thank you,
Bobby

August 17, 2023 at 5:17 am #14242057

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi Jeremiah,

Thank you for the access details!

The previously shared error logs are from PHP Notices which should not affect how the site behaves.

Taking a look at the site's backend I noticed the following:

- There are 2 home pages, one marked as "Elementor page" and the one you shared with me that is a standard WP editor page missing the styling.

Non elementor -> hidden link

Elementor -> hidden link

The non elementor page is marked as a translation of Portuguese which doees not seem right, am I correct? since the default language of the site is EN it would be expected the default language of that page is also EN

Additionally, when I dit the page you shared with me (non elementor) -> click on "edit with Elementor" the styling is there but once you attempt to update or view through Elementor it says "Access denied"

Deactivating WPML String Translation does not seem to change the behavior of this page.

The topic ‘[Closed] Page does not display Elementor content correctly’ is closed to new replies.