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); }
}