Title: Cannot modify header information
Last modified: January 31, 2025

---

# Cannot modify header information

 *  Resolved [mshryngst](https://wordpress.org/support/users/mshryngst/)
 * (@mshryngst)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-206/)
 * I don’t know which version this is happening from, but get the following error
   at least with the latest version.
 * PHP Warning: Cannot modify header information – headers already sent in /var/
   www/**_\*\*\*_**/html/wp-content/plugins/wp-cloudflare-page-cache/src /Utils/
   Helpers.php on line 21
 * I found that when access wp-cron.php with curl command in a cron job, it throws
   this error.
 * */10 * * * * * /usr/bin/curl -s “https://**_\*\*\*_**/wp-cron.php” > /dev/null
   2>&1
 * Apparently, a GET request to wp-cron.php gives an error.
 * When execute it directly by php command or using a POST request, there is no 
   error.
 * /usr/bin/php /var/www/**_\*_****/html/wp-cron.php
 * /usr/bin/curl -s -X POST “https://**_\*\*\*_**/wp-cron.php”
 * Although this is not a fundamental solution, the error is being avoided by reviewing
   the wp-cron.php request until it is fixed.
 * Thank you

Viewing 1 replies (of 1 total)

 *  Plugin Support [Kush](https://wordpress.org/support/users/kushnamdev/)
 * (@kushnamdev)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-206/#post-18282815)
 * Hi [@mshryngst](https://wordpress.org/support/users/mshryngst/),
 * Thank you for sharing this! We’ve reported it to the development team for review
   and will follow up once this is fixed.
 * Best regads

Viewing 1 replies (of 1 total)

The topic ‘Cannot modify header information’ is closed to new replies.

 * ![](https://ps.w.org/wp-cloudflare-page-cache/assets/icon-256x256.gif?rev=3234997)
 * [Super Page Cache – Cloudflare Cache, Page Speed & Core Web Vitals](https://wordpress.org/plugins/wp-cloudflare-page-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-cloudflare-page-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Kush](https://wordpress.org/support/users/kushnamdev/)
 * Last activity: [1 year, 4 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-206/#post-18282815)
 * Status: resolved