Quantcast
Channel: WordPress.org Forums » [Wordfence Security - Firewall, Malware Scan, and Login Security] Support
Viewing all articles
Browse latest Browse all 33115

Cannot modify header information – headers already sent

$
0
0

Replies: 0

hello i have error on the

[21-Apr-2025 09:23:41 UTC] PHP Warning: Cannot modify header information – headers already sent in /home/in584323/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/utils.php on line 759
[21-Apr-2025 09:23:41 UTC] PHP Warning: Cannot modify header information – headers already sent in /home/in584323/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/utils.php on line 760
[21-Apr-2025 09:23:41 UTC] PHP Warning: Cannot modify header information – headers already sent in /home/in584323/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/utils.php on line 761
[21-Apr-2025 09:23:41 UTC] PHP Warning: Cannot modify header information – headers already sent in /home/in584323/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/waf.php on line 1181

the lines is them

public static function doNotCache() {
    header("Pragma: no-cache");
    header("Cache-Control: no-cache, must-revalidate, private, max-age=0");
    header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); //In the past
    if (!defined('DONOTCACHEPAGE')) { define('DONOTCACHEPAGE', true); }
    if (!defined('DONOTCACHEDB')) { define('DONOTCACHEDB', true); }
    if (!defined('DONOTCDN')) { define('DONOTCDN', true); }
    if (!defined('DONOTCACHEOBJECT')) { define('DONOTCACHEOBJECT', true); }
}

Viewing all articles
Browse latest Browse all 33115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>