Title: Help with theme error
Last modified: December 29, 2017

---

# Help with theme error

 *  Resolved [jessi.webb](https://wordpress.org/support/users/jessiwebb/)
 * (@jessiwebb)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/help-with-theme-error/)
 * I am having various troubles with my site, mostly on the wp-admin side. I contacted
   my host to find out what was going on and they said my theme was causing an error.
   Here is what she sent me:
 * Error log : [23-Dec-2017 16:42:26 UTC] PHP Warning: Cannot modify header information–
   headers already sent by (output started at /home2/commoof4/public_html/wp-content/
   themes/sela-child/functions.php:25) in /home2/commoof4/public_html/wp-includes/
   pluggable.php on line 1210
 * Can anyone help me figure out what to do about this? I’m clueless.
 * Thank you!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhelp-with-theme-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * (@zoonini)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/help-with-theme-error/#post-9821197)
 * Hi [@jessiwebb](https://wordpress.org/support/users/jessiwebb/) – that error 
   is coming from your child theme, not Sela itself. A common cause of this error
   is blank lines at the top or bottom of your child theme’s functions.php file.
   Try checking it carefully in a code editor and make sure there are no blank lines
   at the top or bottom.
 * Other common causes here:
 * [https://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F](https://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F)
 *  Thread Starter [jessi.webb](https://wordpress.org/support/users/jessiwebb/)
 * (@jessiwebb)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/help-with-theme-error/#post-9822363)
 * Thank you! I didn’t see any extra space at the top of functions.php, but I did
   have two <?php … ?> sections in there, so I took that out and it seems to be 
   working! I really appreciate your help! Have a great day! Jessi
 *  Moderator [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * (@zoonini)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/help-with-theme-error/#post-9827082)
 * Glad you sorted it – yay.
 * FYI, `functions.php` should have only a single opening `<?php` tag — at the very
   top — and no closing `?>` tag anywhere in the file. Hopefully you won’t run into
   this issue again!
 *  Thread Starter [jessi.webb](https://wordpress.org/support/users/jessiwebb/)
 * (@jessiwebb)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/help-with-theme-error/#post-9831758)
 * Oh, thank you! Good to know. I will fix that too. Have a great 2018!
 *  Moderator [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * (@zoonini)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/help-with-theme-error/#post-9835056)
 * Thank you, you too!

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

The topic ‘Help with theme error’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/sela/1.0.17/screenshot.png)
 * Sela
 * [Support Threads](https://wordpress.org/support/theme/sela/)
 * [Active Topics](https://wordpress.org/support/theme/sela/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/sela/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/sela/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/help-with-theme-error/#post-9835056)
 * Status: resolved