Title: [Plugin: PHPFreeChat] Error when saving settings
Last modified: August 19, 2016

---

# [Plugin: PHPFreeChat] Error when saving settings

 *  [rendom](https://wordpress.org/support/users/rendom/)
 * (@rendom)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/plugin-phpfreechat-error-when-saving-settings/)
 * Warning: Cannot modify header information – headers already sent by (output started
   at blablabla\wp-admin\includes\plugin.php:1146) in blablabla\www\wp-includes\
   pluggable.php on line 865
 * [http://wordpress.org/extend/plugins/phpfreechat/](http://wordpress.org/extend/plugins/phpfreechat/)

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/plugin-phpfreechat-error-when-saving-settings/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-phpfreechat-error-when-saving-settings/page/2/?output_format=md)

 *  [Frumph](https://wordpress.org/support/users/frumph/)
 * (@frumph)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/plugin-phpfreechat-error-when-saving-settings/#post-1198811)
 * This is a common wordpress error where some extra line or space is sent between
   header information.
 * I havent been able to track it down as of yet with everyone but 3 of the people
   who had it, it was an extra line at the end of phpfreechat.php, while 4 of those
   others removing that extra line didnt matter.
 * However in comparison, 30 people using it don’t have that error at all, so I 
   am at a loss in trying to debug it.
 * I’m sure it has to do with how i’m using the new 2.8 register_settings.
 * – Phil (Frumph)
 *  [mexfx](https://wordpress.org/support/users/mexfx/)
 * (@mexfx)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/plugin-phpfreechat-error-when-saving-settings/#post-1198873)
 * Hello,
 * I have the exact same error. But the chat works with the default settings. The
   error happens only when clicking to save the changes. I checked for the extra
   line at the end of phpfreechat.php and there isn’t any.
 * So I installed a brand new WP 2.8.4 on another domain thinking to clear any other
   possibilities of conflicts and same error occurs when trying to save setings 
   for phpfreechat.
 * Line 1146 in plugin.php reads:
    echo “<input type=’hidden’ name=’option_page’
   value='” . esc_attr($option_group) . “‘ />”;
 * … and line 865 of pluggable.php reads:
 * header(“Location: $location”);
 * Again this is a brand new installation of WP with default settings and no other
   plugins at all.
 * Any help would be greatly appreciated.. 🙂
 * -mexfx
 *  [Frumph](https://wordpress.org/support/users/frumph/)
 * (@frumph)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/plugin-phpfreechat-error-when-saving-settings/#post-1198878)
 * I don’t get the error with my theme, have you tried with a default theme or different
   theme? than we can narrow it down to either the wp-config.php or your theme. (
   no idea why theme would have anything to do with it /shrug)
 *  [mexfx](https://wordpress.org/support/users/mexfx/)
 * (@mexfx)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/plugin-phpfreechat-error-when-saving-settings/#post-1198881)
 * Yes, the new WP installation has nothing else than the default theme. I wanted
   to narrow the possibilities by installing WP clean with default settings and 
   no other plugins.
 * I tested both default themes: WordPress Classic 1.5 by Dave Shea and WordPress
   Default 1.6 by Michael Heilemann. I get the error on both. This is strange because
   you and others don’t get the error. Is your WP build 2.8.4 too?
 * Thank you..
 *  [Frumph](https://wordpress.org/support/users/frumph/)
 * (@frumph)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/plugin-phpfreechat-error-when-saving-settings/#post-1198883)
 * One of them is, the other one is rare- svn build, neither of them do it, .. maybe
   it’s how I setup my php.ini ? not sure, I still havent been able to find that
   bug.
 *  [paperboy](https://wordpress.org/support/users/paperboy/)
 * (@paperboy)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/plugin-phpfreechat-error-when-saving-settings/#post-1198886)
 * I have this problem too with 2.8.4 and can’t seem to track down the problem. :/
 *  [mexfx](https://wordpress.org/support/users/mexfx/)
 * (@mexfx)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/plugin-phpfreechat-error-when-saving-settings/#post-1198887)
 * I can’t figure it out, but I found out that even though the error occurs when
   saving the settings for phpfreechat, if you go back to the chat page and type
   the /rehash command, the chat will show the new settings… so it looks like the
   settings are saved.. /shrug. Oh well, as long as the chat works I’ll wait for
   the bug fix.
 *  [Frumph](https://wordpress.org/support/users/frumph/)
 * (@frumph)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/plugin-phpfreechat-error-when-saving-settings/#post-1198916)
 * It *does* save the settings, but somewhere along the lines double-headers are
   being sent.
 * So if anyone else has any idea’s on how to track that down =)
 *  [dispco](https://wordpress.org/support/users/dispco/)
 * (@dispco)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/plugin-phpfreechat-error-when-saving-settings/#post-1198923)
 * I have the same warning as described before. There is also other annoying problem..
   When opening the chat page, it starts chat and also show all sub pages in menu.
 * What i try to describe is that there is pages with hierarchy and all them are
   shown, when chat is selected.
 *  [Frumph](https://wordpress.org/support/users/frumph/)
 * (@frumph)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/plugin-phpfreechat-error-when-saving-settings/#post-1198925)
 * Sounds like the menu CSS you’re using for your menubar might require a little
   adjusting CSS wise if that’s how it’s working.
 * Give me a link to your site so I can check it out?
 *  [dispco](https://wordpress.org/support/users/dispco/)
 * (@dispco)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/plugin-phpfreechat-error-when-saving-settings/#post-1198926)
 * Sorry Frumph but cannot do that. It’s protected intranet site only for few members.
 * I am quite a new with all this and only what i found was
    [@import](https://wordpress.org/support/users/import/)
   url(img/dropdown.css) in stylesheet.css
 * One other thing there is.. how can you clear all chat history?
 *  [Frumph](https://wordpress.org/support/users/frumph/)
 * (@frumph)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/plugin-phpfreechat-error-when-saving-settings/#post-1198929)
 * The code I made for clearing the text cache and the mysql cache is made, however
   the plugin is no longer available on the wordpress repository.
 * If you wish to clear the text cache just delete it from the plugins/phpfreechat/
   data/private/logs/ and /cache directories, if you want to clear the mysql cache,
   delete the database since you do not have those commands.
 * You can request further assistance with having those commands made for you at
   [http://phpfreechat.net/](http://phpfreechat.net/)
 *  [brettbum](https://wordpress.org/support/users/brettbum/)
 * (@brettbum)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/plugin-phpfreechat-error-when-saving-settings/#post-1198933)
 * This error is plaguing me on a couple different installs. It makes it impossible
   for me to edit both comments and pages on the site, get the error after attempting
   to send (save/update).
 * I’m not a programmer so debugging isn’t really something I can get very far with
   on this issue. 🙁 Stuck, hoping for a fix with the next upgrade. Not even something
   Matt M. can help with this weekend at WordCamp. 😉
 *  [brettbum](https://wordpress.org/support/users/brettbum/)
 * (@brettbum)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/plugin-phpfreechat-error-when-saving-settings/#post-1198934)
 * I can delete and then rewrite a new comment or page – work around
 *  [Frumph](https://wordpress.org/support/users/frumph/)
 * (@frumph)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/plugin-phpfreechat-error-when-saving-settings/#post-1198935)
 * The Current version you are using is using ozh’s way of doing an admin screen.
 * The new version of WordPress PHPFreeChat that I have on my server here I reverted
   to the old style of doing an admin options screen (which doesnt have that header
   bug).
 * Unfortunately due to a disagreement with the theme repository guys I have decided
   to remove WordPress PHPFreeChat from the repository.
 * I’ll have it available on my personal blog later tonight soon as the testers 
   come back with an a-ok on it.
 * – Phil (Frumph)

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/plugin-phpfreechat-error-when-saving-settings/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-phpfreechat-error-when-saving-settings/page/2/?output_format=md)

The topic ‘[Plugin: PHPFreeChat] Error when saving settings’ is closed to new replies.

 * 18 replies
 * 6 participants
 * Last reply from: [paperboy](https://wordpress.org/support/users/paperboy/)
 * Last activity: [16 years, 6 months ago](https://wordpress.org/support/topic/plugin-phpfreechat-error-when-saving-settings/page/2/#post-1198970)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
