{"id":11372262,"date":"2019-03-29T20:33:48","date_gmt":"2019-03-29T20:33:48","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/feature-policy-php-error\/"},"modified":"2019-03-29T20:35:29","modified_gmt":"2019-03-29T20:35:29","slug":"feature-policy-php-error","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/feature-policy-php-error\/","title":{"rendered":"Feature-Policy PHP error"},"content":{"rendered":"<p>I am running Version 1.12.1.  If I enable the Feature Policy, my pages are preceded with errors like the following.  Line 437 in my installation looks like:<br \/>\n<code>foreach ($feature_policy_feature as $feature =&gt; $whatever)<\/code><\/p>\n<pre><code>Warning: Invalid argument supplied for foreach() in \/[redacted]\/wp-content\/plugins\/http-headers\/http-headers.php on line 437\n\nWarning: Cannot modify header information - headers already sent by (output started at \/[redacted]\/wp-content\/plugins\/http-headers\/http-headers.php:437) in \/[redacted]&lt;\/wp-content\/plugins\/http-headers\/http-headers.php on line 547\n\nWarning: Cannot modify header information - headers already sent by (output started at \/[redacted]\/wp-content\/plugins\/http-headers\/http-headers.php:437) in \/[redacted]\/wp-content\/plugins\/http-headers\/http-headers.php on line 547<\/code><\/pre>\n","protected":false},"template":"","class_list":["post-11372262","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11372262","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":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11372262\/revisions"}],"predecessor-version":[{"id":11372274,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11372262\/revisions\/11372274"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=11372262"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}