Здравствуйте.Помогите пожалуйста разобраться с возникшей проблемой.Создал сайт на WordPress два месяца назад.Настроил, создавал страницы,писал новые посты.Всё было нормально.Но сегодня почему то при попытке войти в админку появляется сообщение:
?>
Warning: Cannot modify header information – headers already sent by (output started at /home2/luna5222/public_html/faunacom.ru/wp-content/themes/spa-moments/functions.php:634) in /home2/luna5222/public_html/faunacom.ru/wp-includes/pluggable.php on line 890
Код файла pluggable.php:
888 } else {
889 if ( php_sapi_name() != ‘cgi-fcgi’ )
890 status_header($status); // This causes problems on IIS and some FastCGI setups
891 header("Location: $location", true, $status);
892 }
Код файла functions.php:
636 if ($posts) {
637 foreach ($posts as $post) {
638 $post_title=stripslashes($post->post_title);
639 $comment_count=$post->comment_count;
640 $permalink=get_permalink($post->ID);
641 $output .= $before . " <a href=\"" . $permalink . "\" title=\"" . $post_title."\">" . $post_title . "</a> " . $after;
642 }
Кто может помочь, подскажите пожалуйста ,какие изменения надо внести .