Title: Error Logs blockcountry-checks.php
Last modified: August 31, 2016

---

# Error Logs blockcountry-checks.php

 *  Resolved [mehmeh](https://wordpress.org/support/users/mehmeh/)
 * (@mehmeh)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/error-logs-blockcountry-checksphp/)
 * 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/](https://wordpress.org/plugins/iq-block-country/)

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

 *  Plugin Author [Pascal](https://wordpress.org/support/users/iqpascal/)
 * (@iqpascal)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/error-logs-blockcountry-checksphp/#post-6951104)
 * 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](https://wordpress.org/support/users/mehmeh/)
 * (@mehmeh)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/error-logs-blockcountry-checksphp/#post-6951107)
 * You mean it will mess up the website for blocked users or for everyone?
 *  Plugin Author [Pascal](https://wordpress.org/support/users/iqpascal/)
 * (@iqpascal)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/error-logs-blockcountry-checksphp/#post-6951110)
 * 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.

 * ![](https://ps.w.org/iq-block-country/assets/icon-128x128.png?rev=3136019)
 * [iQ Block Country](https://wordpress.org/plugins/iq-block-country/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/iq-block-country/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/iq-block-country/)
 * [Active Topics](https://wordpress.org/support/plugin/iq-block-country/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/iq-block-country/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/iq-block-country/reviews/)

## Tags

 * [headers already sent](https://wordpress.org/support/topic-tag/headers-already-sent/)

 * 3 replies
 * 2 participants
 * Last reply from: [Pascal](https://wordpress.org/support/users/iqpascal/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/error-logs-blockcountry-checksphp/#post-6951110)
 * Status: resolved