WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I keep on getting this error on updating a user:

PHP Warning: Cannot modify header information - headers already sent by (output started at /wp-admin/includes/update.php:134) in /wp-includes/pluggable.php on line 866, referer: /wp-admin/user-edit.php?user_id=4&wp_http_referer=%2Fwp-admin%2Fusers.php

Any ideas why?

My header.php does not seem to start with an empty space, but just with <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

And, besides, this seems to be more backend related...


Somehow pluggable.php or update.php or one of the user edit files got corrupted. After the upgrade to 3.3.2 all good again. All users can be updated again within getting stuck in error reports.

share|improve this question
up vote 1 down vote accepted

It is usually because there are spaces, new lines, or other stuff before an opening tag, typically in wp-config.php. This could be true about some other file too, so please check the error message, as it lists the specific file name where the error occurred (see the link below for more info on "Interpreting the Error Message"). Replacing the faulty file with one from your most recent backup or one from a fresh WordPress download is your best bet, but if neither of those are an option, please this codex: http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F

share|improve this answer
After the upgrade all was well. Must have been a faulty file as mentioned in the question. I could not answer my own question yesterday. Had to wait for several hours. Thanks for the input! – rhand Apr 22 '12 at 4:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.