I have written a simple widget, and it works except i get error messages when I:
1.deactivate the widget
2.log out with the widget activated
3.log in with the widget activated
the error messages read
Warning: Cannot modify header information – headers already sent by (output started at C:\xampp\htdocs\wordpress\wp-content\plugins\prezzybox_content.php:12) in C:\xampp\htdocs\wordpress\wp-includes\pluggable.php on line 341
I have read into this error, and there is a lot of suggestion of whitespace preceeding php tags in main wordpress files, but these errors only occur when the widget is active, and there is no whitespace.
Any help would be much appreciated, im starting to pull my hair out.
- The topic ‘Warning: Cannot modify header information – headers already sent by (output star’ is closed to new replies.