Title: WP-Admin login errors
Last modified: August 19, 2016

---

# WP-Admin login errors

 *  [nathanbunn](https://wordpress.org/support/users/nathanbunn/)
 * (@nathanbunn)
 * [15 years ago](https://wordpress.org/support/topic/wp-admin-login-errors/)
 * I have installed a custom built template on my site and have got these errors
   when I try to log in:
 * `Warning: Cannot modify header information - headers already sent by (output 
   started at C:\xampp\htdocs\folios\201142\blog\wp-content\themes\mytemplate\functions.
   php:11) in C:\xampp\htdocs\folios\201142\blog\wp-login.php on line 354`
 * and
 * `Warning: Cannot modify header information - headers already sent by (output 
   started at C:\xampp\htdocs\folios\201142\blog\wp-content\themes\mytemplate\functions.
   php:11) in C:\xampp\htdocs\folios\201142\blog\wp-login.php on line 366`
 * Don’t even get me started when I log out, it tells me I have errors on
 * `Warning: Cannot modify header information - headers already sent by (output 
   started at C:\xampp\htdocs\folios\201142\blog\wp-content\themes\mytemplate\functions.
   php:11) in C:\xampp\htdocs\folios\201142\blog\wp-includes\pluggable.php on line
   897`
 * amongst other lines in the same pluggable.php file. Is it a template issue or
   a WP-Admin issue? It calls the functions.php file, here are the contents of the
   file:
 *     ```
       <?php
       if ( function_exists('register_sidebar') )
       register_sidebar(array(
       'before_widget' => '',
       'after_widget' => '',
       'before_title' => '<h4>',
       'after_title' => '</h4>',
       ));
       ?>
   
       <?php // for sidebar.php if needed (remove the // below the if() statement) ?>
       <?php // if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : endif; ?>
       ```
   
 * Any solutions?

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years ago](https://wordpress.org/support/topic/wp-admin-login-errors/#post-2055141)
 * [Solving “headers already sent” warnings](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 ‘WP-Admin login errors’ is closed to new replies.

## Tags

 * [errors](https://wordpress.org/support/topic-tag/errors/)
 * [Issues](https://wordpress.org/support/topic-tag/issues/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [template](https://wordpress.org/support/topic-tag/template/)
 * [wp-admin](https://wordpress.org/support/topic-tag/wp-admin/)

 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/wp-admin-login-errors/#post-2055141)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
