Home›Support›English Support›[Resolved] I have a previous ticket that was closed, with a bug, which is still occuring
[Resolved] I have a previous ticket that was closed, with a bug, which is still occuring
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is unable to edit their website using WordPress and Elementor Pro due to an error message related to the WPML Sitepress Multilingual CMS vendor code. The error message indicates that headers cannot be modified after they are sent. The issue recurs after an unknown number of page edits, even after deleting and re-adding a user. Solution: We investigated the issue and found that it persists even when the WPML plugin is deactivated, suggesting it is not directly related to WPML. The problem was identified to occur when only the Yoast SEO plugin is active. Updating the Yoast SEO plugin resolved the issue, as demonstrated in a video we shared with the client. If you're experiencing this issue, we recommend trying the following steps: 1. Deactivate the WPML plugin to confirm if the issue persists. 2. If the problem continues, check if it occurs with only the Yoast SEO plugin active. 3. Update the Yoast SEO plugin to the latest version. If these steps do not resolve the issue or if it appears unrelated to the plugins mentioned, it might be due to other factors. In such cases, the solution provided here might be outdated or not applicable to your specific situation. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket.
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 website using WordPress and Elementor Pro. However, I am encountering an error message related to the vendor code from WPML sitepress multilingual CMS, which prevents me from editing any pages. The issue can be seen at the following link: hidden link. I have a previous ticket that was closed, with a bug, which is still occurring. Previous ticket: https://wpml.org/forums/topic/warning-message-unable-to-edit-pages-because-of-bug/. I have already found that if I disable the plugins I can edit in safemode. Deleting and adding a user removes the issue. But it reoccurs after an unknown amount of page edits, and then I cannot edit again. The issue will not be visible on a new user before it has gone through an unknown amount of page edits.
Symptoms:
I expected to access editing in Elementor. Instead, I got: Warning: Cannot modify header information - headers already sent by (output started at /var/www/inextia.dk/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/wpml/src/UserInterface/Web/Infrastructure/WordPress/CompositionRoot/Config/ExistingPage/PostEditPage.php:23) in /var/www/inextia.dk/public_html/wp-includes/functions.php on line 7168.
Questions:
How can I resolve the error message related to the vendor code from WPML sitepress multilingual CMS?
Why does the issue reoccur after an unknown amount of page edits?
Updating the two plugins kind of worked. Although the error message is still visible on all pages. And i still cannot access pages 70% of the time
I updated them on the live site, but if you go onto the login you can see the error message is still there
I will contact Yoast SEO if the issue is on their end. From the error message it looks like it is from WPML if you follow the string. Am I reading it wrong?
Warning: Cannot modify header information - headers already sent by (output started at /var/www/inextia.dk/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/wpml/src/UserInterface/Web/Infrastructure/WordPress/CompositionRoot/Config/ExistingPage/PostListingPage.php:23) in /var/www/inextia.dk/public_html/wp-includes/functions.php on line 7168
As it says "sitepress-multilingual-cms/vendor/wpml/wpml/" and anything on the vendor side i cannot access
that is warning message and has nothing to do with issue your experience.
Warning is just a warning notice not an error message, it happens with PHP8+ version, and we will fix it in future versions, so warning does not happen, it does not cause any issue currently.
You can see from video I shared that issue happens even when WPML plugins disabled, you can try the same and confirm that way if related to WPML plugins or not.
If issue is happening when WPML is disabled it is not an WPML issue.
Hope this helps and clears thing up, let me know if any further doubts.