2015-11-06 138 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

回答