{"id":13676401,"date":"2020-11-18T08:11:17","date_gmt":"2020-11-18T08:11:17","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/php-warning-263\/"},"modified":"2020-11-18T08:11:17","modified_gmt":"2020-11-18T08:11:17","slug":"php-warning-263","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/php-warning-263\/","title":{"rendered":"PHP Warning"},"content":{"rendered":"<p>Hi!<\/p>\n<p> I get this PHP warning in my debug.log all the time:<\/p>\n<p><code>PHP Warning:  Cannot modify header information - headers already sent in \/var\/www\/coaching_test\/wp-content\/advanced-cache.php on line 218<\/code><\/p>\n<p>This is the code that causes it:<\/p>\n<pre><code>217 function hyper_cache_header($value) {\n218     header(&#039;X-Hyper-Cache: &#039; . $value, false);\n219 }<\/code><\/pre>\n<p>My PHP version: PHP 7.2.24-0ubuntu0.18.04.7<\/p>\n","protected":false},"template":"","class_list":["post-13676401","topic","type-topic","status-publish","hentry","topic-tag-php","topic-tag-warning"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/13676401","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/13676401\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=13676401"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}