Title: Cannot modify header information &#8211; headers already sent error
Last modified: August 19, 2016

---

# Cannot modify header information – headers already sent error

 *  [nfleming](https://wordpress.org/support/users/nfleming/)
 * (@nfleming)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/cannot-modify-header-information-headers-already-sent-error/)
 * I get…..
    Warning: Cannot modify header information – headers already sent by(
   output started at /home/nfleming/public_html/nicolefleming.com/blog/wp-content/
   themes/Minimal Horizontal.zip Folder/functions.php:2) in /home/nfleming/public_html/
   nicolefleming.com/blog/wp-includes/pluggable.php on line 868
 * I pretty sure it’s the php not liking where the html is in my functions.php which
   is below, i’m not that good with php how can i rework the code for it to work?
 *     ```
       <?php
   
       if ( function_exists('register_sidebar') )
           register_sidebar(array(
               'before_widget' => '<div class="block">',
               'after_widget' => '</div>',
               'before_title' => '<h5>',
               'after_title' => '</h5>',
           ));
       ?>
   
       <?php
       function completeTheme(){
       echo '<div id="arrows">
   
       <ul>
       		<li class="lb"><a href="#container" title="Home">Home</a>
       		<li id="left" class="lb"><a href="//" title="go left"><</a>
       		<li id="right" class="lb"><a href="//" title="go right">></a>
   
       <li><a href="#subcontent" title="Footer">Navigate</a></li>
       </ul>
       </div>
       <div id="footer"><b>Designed by: </b><a href="http://www.gregponchak.com">Greg Ponchak</a> | <b>Sponsored by: </b><a href="http://www.gossipbingo.co.uk
       ">Free Bingo, <a href="http://www.moonbingo.com
       ">Bingo, <a href="http://www.lordbingo.co.uk/gala-bingo.html
       ">& Gala Bingo</div>
       </div>
        </body>
        </html>';
       }
       ?>
       ```
   

Viewing 1 replies (of 1 total)

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/cannot-modify-header-information-headers-already-sent-error/#post-1470729)
 * [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 ‘Cannot modify header information – headers already sent error’ is closed
to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Samuel B](https://wordpress.org/support/users/samboll/)
 * Last activity: [16 years, 1 month ago](https://wordpress.org/support/topic/cannot-modify-header-information-headers-already-sent-error/#post-1470729)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
