This thread is resolved. Here is a description of the problem and solution.
Problem:
The client was experiencing warning messages in Elementor when editing a page, which seemed to be related to the WPML plugin. The warnings did not appear on the live site, only within the Elementor editing interface.
Solution:
We recommended enabling WordPress Debug Mode to identify any underlying issues. The steps include:
1. Editing the
wp-config.php
file to enable WP_DEBUG, WP_DEBUG_LOG, and disable WP_DEBUG_DISPLAY. 2. Testing the site by switching to a default WordPress theme and deactivating all non-WPML plugins to check for a compatibility conflict. 3. Reactivating plugins in small groups to isolate the problematic plugin, and if the issue disappears.
If this solution does not resolve your issue or seems outdated, we recommend opening a new support ticket. Please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, visit our 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.
Background of the issue:
I am trying to edit my page in Elementor: hidden link. The warnings appear only within the Elementor editing page, not on the live site. This seems to be coming from the WPML plugin, as deactivating it makes the warnings disappear.
Symptoms:
Warning: Cannot modify header information - headers already sent by (output started at /data/web/virtuals/131319/virtual/www/domains/dancedifferent.cz/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/wpml/src/UserInterface/Web/Infrastructure/WordPress/CompositionRoot/Config/ExistingPage/PostEditPage.php:23) in /data/web/virtuals/131319/virtual/www/domains/dancedifferent.cz/wp-includes/functions.php on line 7168. Warning: Cannot modify header information - headers already sent by (output started at /data/web/virtuals/131319/virtual/www/domains/dancedifferent.cz/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/wpml/src/UserInterface/Web/Infrastructure/WordPress/CompositionRoot/Config/ExistingPage/PostEditPage.php:23) in /data/web/virtuals/131319/virtual/www/domains/dancedifferent.cz/wp-includes/functions.php on line 7144.
Questions:
What could be causing the issue with the WPML plugin?
How can I resolve the warning messages appearing in Elementor?
To investigate further, please enable WordPress Debug Mode and check if any warnings or errors appear. You can follow the steps in the official documentation here:
To enable WordPress Debug log, open your wp-config.php file of the site root and look for define('WP_DEBUG', false);. Change it to:
// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
// Disable display of errors and warnings
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
This issue might be caused by a compatibility conflict. To confirm, please try the following steps if possible:
a) Backup your site first[Mandatory]
b) Switch for a moment to a WordPress default theme like 2025
c) Deactivate all the plugins that are not related to WPML
d) Then check whether the issue exists or not
e) If the issue is gone, activate the plugins as a group of three or four to find which one has an interaction issue
f) Switch back to the original theme of the site
Dear Bigul,
Thank you so much for your reply and the detailed instructions — I really appreciate it. I have to admit though, I’ve spent a couple of hours trying to figure this out, but it’s a bit too complicated for me.
Would it be possible for me to provide you with temporary login details so you could take a direct look on the back end? I’d be incredibly grateful for your help.
Thanks again,
Yaros
Thank you for the details. To proceed with further investigation, please fill in the private details fields, including FTP credentials, after taking a full site backup. I would also like to access your site's admin area for additional checks.
For more information, please refer to the following links regarding our private information sharing policies.
Thank you for sharing the credentials. However, I am unable to reproduce the issue exactly when trying to open pages and templates in the Elementor Editor for editing. Please check the screencast below for reference:
hidden link
So, could you please let us know the exact steps to reproduce the issue on your site? This will help us investigate more effectively.
Dear Bigul,
Thank you for checking. I’ve just tested it on my end as well, and the issue seems to have disappeared… Very strange but I guess some kind of automatic update may have fixed it.
However, I have one small question — is there any chance you activated some kind of maintenance mode or another feature? Since yesterday or today, my website has started taking forever to load each page. It now takes over a minute to open the Elementor backend editing page. Whereas this used to take 5-15 seconds.
Is there any chance something might’ve been triggered while you were working on it?
Thank you so much,
Yaros
Thank you for the updates. I am glad to hear that you are now getting the expected results.
Just to clarify, I have not made any changes to the site. I only opened the post in Elementor to replicate the issue, no edits were made to any posts or pages. Hope you have a full site backup in place.
Please let me know if you need any further assistance.
Thank you so much for the support. This morning the speed is back to being normal. So everything good. Thank you so much again and sorry for bothering you with something that got fixed totally byt itself in the end. Have a great day!
Yaros