Warning: Cannot modify header information - headers already sent by (output started at /home/test/domains/test.nl/public_html/wp-content/themes/mugen/engine/theme-scripts.php:1) in /home/test/domains/test.nl/public_html/wp-content/plugins/woocommerce/classes/class-wc-session-handler.php on line 63

  

出现这样的情况的原因很多,比如:

1、<?php 或 ?> 前面有空白符

2、<?php 前面有html代码

3、文件不是无BOM的UTF8编码

 

 

stackoverflow上的文章:

http://stackoverflow.com/questions/8028957/how-to-fix-headers-already-sent-error-in-php/8028987#8028987

http://stackoverflow.com/questions/19925262/warning-cannot-modify-header-information-headers-already-sent-by-php-error?answertab=active#tab-top

相关文章:

  • 2021-12-05
  • 2022-02-28
  • 2021-10-18
  • 2022-12-23
  • 2021-10-17
  • 2022-01-13
  • 2022-12-23
猜你喜欢
  • 2021-12-25
  • 2021-09-22
  • 2021-12-05
  • 2022-12-23
  • 2021-11-20
  • 2022-12-23
  • 2021-06-08
相关资源
相似解决方案