Error: "Warning: Cannot modify header information"
-
Hi there,
Thanks for the great plugin. I emailed about an issue that’s flared up for me, but perhaps you don’t offer support there (understandable).
The issue happens since the last plugin update which for me was this past weekend.
Whenever I do some (I guess database) tasks in the WP backend like saving a draft, changing a user level, clearing spam comments and those sorts of things this error displays:
Warning: Cannot modify header information – headers already sent by (output started at PATHHIDDEN/wp-content/plugins/jm-twitter-cards/classes/admin/preview.php:30) in PATHHIDDEN/wp-includes/pluggable.php on line 1207
However, despite the error/white screen showing the task you try to do has worked in the background.
I see on Twitter that the plugin’s functionality (the cards) is still working. It’s just this pesky error that shows. If I disable your plugin, the error does not happen, but then I lose the cards of course.
When saving a post draft the error is a bit different (2 lines) like this:
Warning: Cannot modify header information – headers already sent by (output started at PATHHIDDEN/wp-content/plugins/jm-twitter-cards/classes/admin/preview.php:30) in PATHHIDDEN/wp-admin/post.php on line 242
Warning: Cannot modify header information – headers already sent by (output started at PATHHIDDEN/wp-content/plugins/jm-twitter-cards/classes/admin/preview.php:30) in PATHHIDDEN/wp-includes/pluggable.php on line 1207
Is there something for me to change in my WP files? Does the plugin need an additional update by you?
I noticed someone had replied in the support thread before this one about an issue that sounded the same so it might not be me alone.
Thanks in advance for any help.
- The topic ‘Error: "Warning: Cannot modify header information"’ is closed to new replies.