Title: Error &quot;cannot modify header information&quot; when saving preferences
Last modified: August 21, 2016

---

# Error "cannot modify header information" when saving preferences

 *  Resolved [Joe](https://wordpress.org/support/users/sanbeiji/)
 * (@sanbeiji)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/error-cannot-modify-header-information-when-saving-preferences/)
 * Every time I attempt to save a preference, I get this error:
 * > **Warning:** Cannot modify header information – headers already sent by (output
   > started at /home/content/s/a/n/»redacted«/wp-config.php:34) in /home/content/
   > s/a/n/»redacted«/wp-includes/pluggable.php on line 896
 * The preferences seem to stick if I refresh the page. Disconcerting. Not sure 
   if preferences actually are being saved.
 * Example steps:
    1. Check box next to “Write to Files: Allow iThemes Security 
   to write to wp-config.php and .htaccess.” 2. Press Save Changes button 3. Error
   above is result.
 * [https://wordpress.org/plugins/better-wp-security/](https://wordpress.org/plugins/better-wp-security/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [Joe](https://wordpress.org/support/users/sanbeiji/)
 * (@sanbeiji)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/error-cannot-modify-header-information-when-saving-preferences/#post-4747305)
 * Resolved by following advice from this article:
    [http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F](http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F)

Viewing 1 replies (of 1 total)

The topic ‘Error "cannot modify header information" when saving preferences’ is 
closed to new replies.

 * ![](https://ps.w.org/better-wp-security/assets/icon.svg?rev=3529351)
 * [Kadence Security – Password, Two Factor Authentication, and Brute Force Protection](https://wordpress.org/plugins/better-wp-security/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-wp-security/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-wp-security/)
 * [Active Topics](https://wordpress.org/support/plugin/better-wp-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-wp-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-wp-security/reviews/)

## Tags

 * [header](https://wordpress.org/support/topic-tag/header/)
 * [pluggable.php](https://wordpress.org/support/topic-tag/pluggable-php/)
 * [wp-config.php](https://wordpress.org/support/topic-tag/wp-config-php/)

 * 1 reply
 * 1 participant
 * Last reply from: [Joe](https://wordpress.org/support/users/sanbeiji/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/error-cannot-modify-header-information-when-saving-preferences/#post-4747305)
 * Status: resolved