Background of the issue:
I was trying to use the WP admin area when I encountered an issue. The problem started around May 13 after upgrading WPML and related plugins. The error seems to occur for specific users due to WPML trying to show some type of notice.
Symptoms:
I am getting this error. It started around May 13 after upgrading wpml and related plugins.
E_WARNING: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/wpml/src/UserInterface/Web/Infrastructure/WordPress/CompositionRoot/Config/ExistingPage/PostListingPage.php:23)
File "/var/www/html/wp-admin/admin-header.php", line 14
File "/var/www/html/wp-admin/admin-header.php", line 14, in header
File "/var/www/html/wp-admin/edit.php", line 411, in require_once
Path: wp-admin/edit.php?post_type=glossary&paged=26&lang=es&referer=ate&back=true
E_WARNING: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/wpml/src/UserInterface/Web/Infrastructure/WordPress/CompositionRoot/Config/ExistingPage/PostListingPage.php:23)
File "/var/www/html/wp-includes/functions.php", line 7144
File "/var/www/html/wp-includes/functions.php", line 7144, in header
File "/var/www/html/wp-includes/class-wp-hook.php", line 322, in send_frame_options_header
File "/var/www/html/wp-includes/class-wp-hook.php", line 348, in WP_Hook::apply_filters
File "/var/www/html/wp-includes/plugin.php", line 517, in WP_Hook::do_action
File "/var/www/html/wp-admin/admin.php", line 176, in do_action
File "/var/www/html/wp-admin/edit.php", line 10, in require_once
Path: wp-admin/edit.php?post_type=glossary&lang=es&referer=ate&back=true&paged=2
Seems to happen for specific users due to WPML trying to show some type of notice.
Questions:
Why am I seeing the 'Cannot modify header information' error after upgrading WPML?
How can I resolve the header information error in the WP admin area?
This ticket has been inactive for some time. I didn't get a reply from you. I've converted this chat into a support ticket because you may still require our assistance. If you do, please reply to this ticket, and one of our support team members will continue to assist you.
Please share a screenshot of the problem and grant access to your WordPress site to the user experiencing this issue.
If you need further help with this, please share the access details to your site with me. I'm enabling a private message for the following reply.
Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see: https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ **IMPORTANT**
- - Please backup the site files and database before providing us access. --
-- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.--
Regards,
Itamar.
The topic ‘[Closed] Cannot modify header information – headers already sent by (output started at /var/www/html/wp-conte…’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.