PHP Warnings flooding error_log after recent update
-
After a recent update to this plugin (not sure which), my site’s PHP error_log has been spammed with warnings just like these every 1 minute.
[18-Nov-2021 02:34:02 UTC] PHP Warning: Cannot modify header information - headers already sent in /home/MYSITE/public_html/wp-content/plugins/ip2location-country-blocker/ip2location-country-blocker.php on line 1656 [18-Nov-2021 02:34:02 UTC] PHP Warning: Cannot modify header information - headers already sent in /home/MYSITE/public_html/wp-content/plugins/ip2location-country-blocker/ip2location-country-blocker.php on line 1657 [18-Nov-2021 02:34:02 UTC] PHP Warning: Cannot modify header information - headers already sent in /home/MYSITE/public_html/wp-content/plugins/ip2location-country-blocker/ip2location-country-blocker.php on line 1658 [18-Nov-2021 02:34:02 UTC] PHP Warning: Cannot modify header information - headers already sent in /home/MYSITE/public_html/wp-content/plugins/ip2location-country-blocker/ip2location-country-blocker.php on line 1659The issue seems to stem from the
header()calls inip2location-country-blocker.phpat lines 1656-1659.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘PHP Warnings flooding error_log after recent update’ is closed to new replies.