2015-11-06 69 views
0

嗨我是相當新的WordPress和獲取一個錯誤:WordPress的標題問題

警告:不能更改頭信息 - 頭已經發出(輸出開始/ HOME2/zoeflav /的public_html /指數.PHP:2)在上線62

/home2/zoeflav/public_html/blog/wp-content/plugins/wp-super-cache/wp-cache-phase2.php在我的index.php文件我得到這個:

"; echo "; the_post_thumbnail(); echo "; the_title(); echo "; echo "; echo"; endwhile; ?> 

這是從線59-71

If($wp_cache_gzip_encoding) 
     header('Vary: Accept-Encoding, Cookie'); 
    else 
     header('Vary: Cookie'); 
    ob_start('wp_cache_ob_callback'); 
    if (isset($GLOBALS[ 'wp_super_cache_debug' ]) && $GLOBALS[ 'wp_super_cache_debug' ]) wp_cache_debug('Created output buffer', 4); 

    // restore old supercache file temporarily 
    if($super_cache_enabled && $cache_rebuild_files) { 
     $user_info = wp_cache_get_cookies_values(); 
     $do_cache = apply_filters('do_createsupercache', $user_info); 
     if($user_info == '' || $do_cache === true) 
      wpcache_do_rebuild(get_current_url_supercache_dir()); 

我怎樣才能擺脫這個警告信息的,對不起,如果我聽起來像一個noob我的代碼,但就像我說我是相當新的這一點。

+2

的可能的複製[如何修復PHP錯誤「已經發送了頭」(http://stackoverflow.com/questions/8028957/如何對修復 - 標題 - 已發送錯誤 - 在-PHP) – showdev

回答