Title: wp-login.php error after wp_mail fix
Last modified: August 18, 2016

---

# wp-login.php error after wp_mail fix

 *  [not-art](https://wordpress.org/support/users/not-art/)
 * (@not-art)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/wp-loginphp-error-after-wp_mail-fix/)
 * After changing the funchion wp_mail to not use the $more in parameters (so that
   new users are emailed their passwords) wp-login.php gives these errors on loading:
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/notart19/public_html/wordpress/wp-includes/functions.php:1794) in /home/
   notart19/public_html/wordpress/wp-login.php on line 7
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/notart19/public_html/wordpress/wp-includes/functions.php:1794) in /home/
   notart19/public_html/wordpress/wp-login.php on line 8
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/notart19/public_html/wordpress/wp-includes/functions.php:1794) in /home/
   notart19/public_html/wordpress/wp-login.php on line 9
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/notart19/public_html/wordpress/wp-includes/functions.php:1794) in /home/
   notart19/public_html/wordpress/wp-login.php on line 10
 * I’ve tried various suggestions on the forums and have come up blank.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [not-art](https://wordpress.org/support/users/not-art/)
 * (@not-art)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/wp-loginphp-error-after-wp_mail-fix/#post-222605)
 * Never mind, I found the host’s built-in editor was introducing errors, when I
   edited the file on my own machine and uploaded it, Bingo! Teach me to trust something
   other than nedit or vim…
 *  Thread Starter [not-art](https://wordpress.org/support/users/not-art/)
 * (@not-art)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/wp-loginphp-error-after-wp_mail-fix/#post-222606)
 * Never mind, I found the host’s built-in editor was introducing errors, when I
   edited the file on my own machine and uploaded it, Bingo! Teach me to trust something
   other than nedit or vim…

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘wp-login.php error after wp_mail fix’ is closed to new replies.

## Tags

 * [errors](https://wordpress.org/support/topic-tag/errors/)
 * [password](https://wordpress.org/support/topic-tag/password/)
 * [users](https://wordpress.org/support/topic-tag/users/)
 * [wp-login.php](https://wordpress.org/support/topic-tag/wp-login-php/)
 * [wp_mail](https://wordpress.org/support/topic-tag/wp_mail/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 1 participant
 * Last reply from: [not-art](https://wordpress.org/support/users/not-art/)
 * Last activity: [20 years, 10 months ago](https://wordpress.org/support/topic/wp-loginphp-error-after-wp_mail-fix/#post-222606)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
