Title: PHP Warning: Cannot modify header
Last modified: May 28, 2022

---

# PHP Warning: Cannot modify header

 *  [Ram Freedman](https://wordpress.org/support/users/ramf/)
 * (@ramf)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/php-warning-cannot-modify-header-2/)
 * Hi,
    I see that there are several closed topics with this issue – I don’t know
   why it’s set to closed but as far as I see the problem is still relevant.
 * in the log file I see lots of lines like this:
 * `[28-May-2022 16:11:16 UTC] PHP Warning: Cannot modify header information – headers
   already sent in /wp-content/plugins/comet-cache-pro/src/includes/traits/Shared/
   HttpUtils.php on line 173
 * The same line over and over again.
 * Anyone got a solution?
    Regards, Ram

The topic ‘PHP Warning: Cannot modify header’ is closed to new replies.

 * ![](https://ps.w.org/comet-cache/assets/icon-256x256.png?rev=1348602)
 * [Comet Cache](https://wordpress.org/plugins/comet-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/comet-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/comet-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/comet-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/comet-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/comet-cache/reviews/)

## Tags

 * [cannot modify header](https://wordpress.org/support/topic-tag/cannot-modify-header/)
 * [PHP Warning](https://wordpress.org/support/topic-tag/php-warning/)

 * 0 replies
 * 1 participant
 * Last reply from: [Ram Freedman](https://wordpress.org/support/users/ramf/)
 * Last activity: [3 years, 12 months ago](https://wordpress.org/support/topic/php-warning-cannot-modify-header-2/)
 * Status: not resolved