Title: Cannot modify header information
Last modified: August 27, 2025

---

# Cannot modify header information

 *  [Mike Meinz](https://wordpress.org/support/users/mikemeinz/)
 * (@mikemeinz)
 * [10 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-208/)
 * See lots of these PHP Warnings in the error_log:
 * `PHP Warning: Cannot modify header information - headers already sent in /home/
   eltownhall/public_html/wp-includes/pluggable.php on line xxxx`
 * where xxxx ranges from 1137 to 1161
 * I added a custom error handler to pluggable.php to display a stack trace. I found
   that limit_login_clear_auth_cookie() is calling wp_clear_auth_cookie() in pluggable.
   php.
   Here is the stack trace:`1 /home/eltownhall/public_html/wp-includes/pluggable.
   php(1143): setcookie() 2 /home/eltownhall/public_html/wp-content/plugins/limit-
   login-attempts/limit-login-attempts.php(340): wp_clear_auth_cookie() 3 /home/
   eltownhall/public_html/wp-content/plugins/limit-login-attempts/limit-login-attempts.
   php(251): limit_login_clear_auth_cookie() 4 /home/eltownhall/public_html/wp-content/
   plugins/limit-login-attempts/limit-login-attempts.php(105): limit_login_handle_cookies()
   5 /home/eltownhall/public_html/wp-includes/class-wp-hook.php(324): limit_login_setup()
   6 /home/eltownhall/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
   7 /home/eltownhall/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
   8 /home/eltownhall/public_html/wp-settings.php(578): do_action() 9 /home/eltownhall/
   public_html/wp-config.php(105): require_once('/home/eltownhal…') 10 /home/eltownhall/
   public_html/wp-load.php(50): require_once('/home/eltownhal…') 11 /home/eltownhall/
   public_html/wp-cron.php(46): require_once('/home/eltownhal…') 12 {main}
 * Plugin version 1.7.2
   WordPress version 6.8.2PHP Version: 8.3

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

 * ![](https://s.w.org/plugins/geopattern-icon/limit-login-attempts.svg)
 * [Limit Login Attempts](https://wordpress.org/plugins/limit-login-attempts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/limit-login-attempts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/limit-login-attempts/)
 * [Active Topics](https://wordpress.org/support/plugin/limit-login-attempts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/limit-login-attempts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/limit-login-attempts/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Mike Meinz](https://wordpress.org/support/users/mikemeinz/)
 * Last activity: [10 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-208/)
 * Status: not resolved