2017-02-24 06:23
浏览 86


I have created a WordPress theme and I have tested it in localhost , it doesn't have any error. But when I uploaded it in the host, in most of pages I see this error:

Warning: Cannot modify header information - headers already sent by (output started at /home2/dekadesi/domains/dekadesign.ir/public_html/wp-content/themes/dekadesign_v2/functions.php:1) in /home2/dekadesi/domains/dekadesign.ir/public_html/wp-includes/pluggable.php on line 1179

I checked space in wp-confing.php and functions.php but my problem is not solved. I need functions.php file, I don't know what should I do.

图片转代码服务由CSDN问答提供 功能建议

我创建了一个WordPress主题,我在localhost中测试了它,它没有任何错误。 但是当我将它上传到主机时,在大多数页面中我都看到了这个错误:

警告:无法修改标头信息 - 已经发送的标头(输出开始于/ home2 / dekadesi / domains / dekadesign.ir / public_html / wp-content / themes / dekadesign_v2 / functions.php:1)位于第1179行的/home2/dekadesi/domains/dekadesign.ir/public_html/wp-includes/pluggable.php

我检查了 wp-confing.php functions.php 中的空格但我的问题没有解决 。 我需要 functions.php 文件,我不知道该怎么做。

  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

2条回答 默认 最新

相关推荐 更多相似问题