Every time a RSS feed (ie: (www.example.com/feed/) on my wordpress site is called I get a PHP E_Warning:
Cannot modify header information - headers already sent by (output started at /var/www/vhosts/(...)/httpdocs/wp-includes/functions.php:3464)
I did my research and most advice points towards blank spaces at the beginning and end of PHP files. But this is a wordpress core file.
ob_end_flush happens on line 3464:
function wp_ob_end_flush_all() {
$levels = ob_get_level();
for ($i=0; $i<$levels; $i++)
ob_end_flush();
}
I did noticed that this functions.php did not have a closing ?> but given that it's a core wordpress file I would not question this too far :)
functions.phpfile, to see if there is something there, related to the feed (add_feed(),add_action( 'rss2_item',...);or similar action, since you've said it happens only on your feed). - dingo_d