Skip Navigation

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

Problem:

The client reported that Elementor was not working when the WPML Multilingual CMS plugin was activated.

Solution:

We asked if any error messages appeared while using Elementor with WPML plugins active.

Next, we suggested a minimal setup test:
- Switch to a default WordPress theme.
- Keep only WPML Plugins and Elementor plugin/s active.
- Disable all other plugins.
We emphasized the importance of having a full backup before making any changes.

After gaining access and reviewing the site, we resolved the issue by modifying the wp-config.php file. We changed the code from:

define('WP_DEBUG', true);

to:

define('WP_DEBUG', false);
// Enable Debug logging to the /wp-content/debug.log file
define('WP_DEBUG_LOG', true);
// Disable display of errors and warnings which is recommended on a live site.
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors', 0); 

This change ensures that errors do not display on the live site but are logged in the "wp-content" directory in a file named debug.log. After this change, Elementor was working correctly.

If this solution does not seem relevant to your issue, please open a new support ticket 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.

This topic contains 6 replies, has 2 voices.

Last updated by Marsel Nikolli 10 months, 1 week ago.

Assisted by: Marsel Nikolli.

Author Posts
January 12, 2024 at 9:16 am #15177931

lorenzod-31

hidden link

I have checked that fully elementor not working when WPML Multilingual CMS activated.

January 12, 2024 at 9:28 am #15177956

Marsel Nikolli

Hi,



Thank you for contacting WPML Support, I will be happy to help you.


In order to expedite handling your support requests, can you please share WPML support debug information from your site?

* To provide the debug information:

- go to WPML -> Support, in there click on the “debug information” link at the bottom of the page.
- Once on the “debug information” page, select the entire text box content and copy it.
- Go back to our support forum, find the debug information box, and paste it.

More information on the link: https://wpml.org/faq/provide-debug-information-faster-support/

-----

Can you please tell me if any error message appears when you want to work with Elementor while the WPML plugins are active?

Looking forward to your reply,
Marsel

January 12, 2024 at 9:38 am #15178062

lorenzod-31

plz check

January 12, 2024 at 10:03 am #15178166

Marsel Nikolli

Thank you for providing the debug info.

1) Can you please tell me if any error message appears when you want to work with Elementor while the WPML plugins are active?

2) Would it be possible to check if the issue happens in a minimal setup, that meaning:

- switch do a default WP theme
- keep active only WPML Plugins and Elementor plugin/s
- disable all other plugins

After, check if the issue is still happening.

Note: Please make sure you have a full backup (files & database) before trying anything on your website.

Let me know if this works for you,
Marsel

January 12, 2024 at 10:09 am #15178193

lorenzod-31

I tried all the steps, but when I activated WPML Multilingual CMS it couldn't open the elementor. it showing safe mode

Screenshot 2024-01-12 153927.png
January 12, 2024 at 10:35 am #15178321

Marsel Nikolli

In order to investigate this issue and understand it better, I would need a temporary access to your website.

Please make a full backup of your site (files and database) and confirm it in your next reply.
* Note: I might need to enable/disable plugins, switch themes and access your website database.

I would need to access both your site's WP-admin and FTP account, please provide both.
Your next reply is set to private for you to provide the username and password details.

You can safely add your information into these fields.

Thanks,
Marsel

January 12, 2024 at 12:25 pm #15178923

Marsel Nikolli

Thank you for providing the access.

I was able to check and I managed to make it work by changing the following code on the wp-config.php file from:

define('WP_DEBUG', true);

to:

define('WP_DEBUG', false);
// Enable Debug logging to the /wp-content/debug.log file
define('WP_DEBUG_LOG', true);
// Disable display of errors and warnings which is recommended on a live site.
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors', 0);

The errors won't display but should be saved on "/wp-content/" in a file debug.log.

Not sure why the issue happens when the WP_DEBUG is set to true.

Can you please check and let me know if it's working for you as well?

January 12, 2024 at 3:09 pm #15179790

lorenzod-31

Thank you so much! It is working well.