• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Cannot modify header information – headers already sent by – Education theme

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Cannot modify header information – headers already sent by – Education theme

This topic is: not resolved

Tagged: education, php, shortcode

  • This topic has 5 replies, 2 voices, and was last updated 11 years, 3 months ago by sharingsunshine.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • March 6, 2014 at 11:27 am #93693
    sharingsunshine
    Member

    I keep getting this message
    Cannot modify header information - headers already sent by (output started at /home/thefruga/public_html/wordpress/wp-content/themes/genesis/lib/structure/header.php:48)

    I have looked at that line of code and this is what is there

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes( 'xhtml' ); ?>>
    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php bloginfo( 'charset' ); ?>" />

    line 48 starts with <html

    I am using a plugin called Shortcode Exec PHP for a require statement and to call a php function on the page that is working fine and you can see on the bottom right under Frugal Forum Topics.

    Please help me get rid of this warning message.

    Thanks,

    Randal

    my site is http://www.thefrugallife.com/wordpress/

    http://www.thefrugallife.com/wordpress/
    March 7, 2014 at 10:23 am #93842
    sharingsunshine
    Member

    I really need some help with this.

    Thanks,

    Randal

    March 7, 2014 at 11:15 am #93844
    Genesis Developer
    Member

    There have some white spaces at top or bottom of your header.php file. Download the file via FTP, remove the white spaces and re-upload the file.


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    March 7, 2014 at 11:55 am #93849
    sharingsunshine
    Member

    Looking at header.php in the Genesis theme this is what I found. The only white space that I saw was after the last semi-colon. There was a new line I took that out and uploaded it but don't see any difference.

    Are you still seeing the problem?

    Thanks,

    Randal

    March 7, 2014 at 12:13 pm #93852
    Genesis Developer
    Member

    without check the backend it is very tough to give the right direction for your problem. If you want then you can fill up this form and send me the wp-admin access once. So I can look once and try to solve your problem.


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    March 7, 2014 at 12:58 pm #93856
    sharingsunshine
    Member

    that is sure nice of you to offer. I have sent the form already.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble