Cannot modify headers
-
ok, I know this has been covered…. and I have searched and followed the advice, let me show you my issue now.
Warning: Cannot modify header information - headers already sent by (output started at /home/content/m/u/s/musiqcentral/html/wp-content/themes/Sea/header.php:2) in /home/content/m/u/s/musiqcentral/html/wp-includes/pluggable.php on line 850
is the error.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="https://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> <head profile="https://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <title><?php wp_title(); ?> <?php bloginfo('name'); ?></title> <meta name="generator" content="WordPress.com" /> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?> <?php wp_head(); ?> <?php if ( strstr( $_SERVER['HTTP_USER_AGENT'], 'iPhone' ) ) { ?> <meta name="viewport" content="width=320" /> <style type="text/css"> #header_img, #sidebar, #postbox .avatar { display: none; } #wrapper, #main { width: 320px; padding: 0; float: none; margin-left: 3px; } h1 { font-size: 2em; font-family: Georgia, "Times New Roman", serif; margin-left: 0; margin-top: 5px; margin-bottom: 10px; } h2 { font-size: 1.2em; font-weight: bold; color: #555; } #postbox form { padding: 5px; } #postbox textarea#posttext { width: 300px; height: 50px; border: 1px solid #c6d9e9; margin-bottom: 10px; padding: 2px; font: 1.4em/1.2em "Lucida Grande",Verdana,"Bitstream Vera Sans",Arial,sans-serif; } #postbox input#tags, #commentform #comment { font-size: 1.2em; padding: 2px; border: 1px solid #c6d9e9; width: 300px; margin-left: 0; } #postbox label { color: #333; display: block; font-size: 1.2em; margin-bottom: 4px; margin-left: 0; font-weight: bold; } #postbox input#submit { font-size: 1.2em; margin-left: 250px; margin-top: 5px; } #main ul { list-style: none; margin-top: 16px; margin-left: 0; } #wpcombar { display: none; } body { padding-top: 0; } </style> <?php } ?> </head> <body> <div id="wrapper"> <script type="text/javascript"><!-- google_ad_client = "pub-0205787697827651"; /* 728x90, created 12/2/08 */ google_ad_slot = "8696396571"; google_ad_width = 728; google_ad_height = 90; //--> </script> <script type="text/javascript" src="https://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <div id="googlesignin"> <?php include ("horlogin.php"); ?> </div> <h1><a href="<?php bloginfo( 'url' ); ?>/"><?php bloginfo( 'name' ); ?></a></h1> <?php $image = get_header_image( ); if( preg_match( '|there-is-no-image.jpg$|', $image ) !== 1 ) { ?> <div id="header_img"> <img src="<?php echo $image; ?>" width="726" height="150" alt="" /> </div> <?php } // if header image ?>
is my header… I can’t fix this issue
- The topic ‘Cannot modify headers’ is closed to new replies.