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.