• Resolved mehmeh

    (@mehmeh)


    Hello,

    My error log is filled with these:

    [16-Jan-2016 12:36:56 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/myusername/public_html/mywebsite/wp-content/themes/mytheme/header.php:13) in /home/myusername/public_html/mywebsite/wp-content/plugins/iq-block-country/libs/blockcountry-checks.php on line 333
    [16-Jan-2016 12:36:56 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/myusername/public_html/mywebsite/wp-content/themes/mytheme/header.php:13) in /home/myusername/public_html/mywebsite/wp-content/plugins/iq-block-country/libs/blockcountry-checks.php on line 334
    [16-Jan-2016 12:36:56 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/myusername/public_html/mywebsite/wp-content/themes/mytheme/header.php:13) in /home/myusername/public_html/mywebsite/wp-content/plugins/iq-block-country/libs/blockcountry-checks.php on line 335
    [16-Jan-2016 12:36:56 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/myusername/public_html/mywebsite/wp-content/themes/mytheme/header.php:13) in /home/myusername/public_html/mywebsite/wp-content/plugins/iq-block-country/libs/blockcountry-checks.php on line 337
    [16-Jan-2016 13:51:20 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/myusername/public_html/mywebsite/wp-content/themes/mytheme/header.php:13) in /home/myusername/public_html/mywebsite/wp-content/plugins/iq-block-country/libs/blockcountry-checks.php on line 332
    [16-Jan-2016 13:51:20 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/myusername/public_html/mywebsite/wp-content/themes/mytheme/header.php:13) in /home/myusername/public_html/mywebsite/wp-content/plugins/iq-block-country/libs/blockcountry-checks.php on line 333
    [16-Jan-2016 13:51:20 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/myusername/public_html/mywebsite/wp-content/themes/mytheme/header.php:13) in /home/myusername/public_html/mywebsite/wp-content/plugins/iq-block-country/libs/blockcountry-checks.php on line 334
    [16-Jan-2016 13:51:20 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/myusername/public_html/mywebsite/wp-content/themes/mytheme/header.php:13) in /home/myusername/public_html/mywebsite/wp-content/plugins/iq-block-country/libs/blockcountry-checks.php on line 335

    I haven’t modified any file either. What might be causing this please? Is this a bug on plugin’s end or me?

    Thank you

    https://wordpress.org/plugins/iq-block-country/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Pascal

    (@iqpascal)

    Hi,

    From the FAQ:

    I get “Cannot modify header information – headers already sent” errors

    This is possible if another plugin or your template sends out header information before this plugin does. You can deactivate and reactivate this plugin, it will try to load as the first plugin upon activation.

    If this does not help you out deselect “Send headers when user is blocked”. This will no longer send headers but only display the block message. This however will mess up your website if you use caching software for your website.

    Thread Starter mehmeh

    (@mehmeh)

    You mean it will mess up the website for blocked users or for everyone?

    Plugin Author Pascal

    (@iqpascal)

    IF you use a caching solution permitted visitors may get blocked pages and blocked visitors may get the actual page. The caching solution needs the headers to function.

    If you don’t use a caching solution nothing ‘bad’ happens. Not sending the headers is just not as clean as it should be.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error Logs blockcountry-checks.php’ is closed to new replies.