• Resolved Morteza561

    (@morteza561)


    Hi!
    There is a little conflict between your plugin and BeTheme that causes displaying some warnings instead of my restriction message for forbidden countries. Here are the warnings:

    Warning: Cannot modify header information – headers already sent by (output started at /home/kosarweb/public_html/wp-content/themes/betheme_10.3.1/header.php:10) in /home/kosarweb/public_html/wp-content/plugins/iq-block-country/libs/blockcountry-checks.php on line 332

    Warning: Cannot modify header information – headers already sent by (output started at /home/kosarweb/public_html/wp-content/themes/betheme_10.3.1/header.php:10) in /home/kosarweb/public_html/wp-content/plugins/iq-block-country/libs/blockcountry-checks.php on line 333

    Warning: Cannot modify header information – headers already sent by (output started at /home/kosarweb/public_html/wp-content/themes/betheme_10.3.1/header.php:10) in /home/kosarweb/public_html/wp-content/plugins/iq-block-country/libs/blockcountry-checks.php on line 334

    Warning: Cannot modify header information – headers already sent by (output started at /home/kosarweb/public_html/wp-content/themes/betheme_10.3.1/header.php:10) in /home/kosarweb/public_html/wp-content/plugins/iq-block-country/libs/blockcountry-checks.php on line 335

    Warning: Cannot modify header information – headers already sent by (output started at /home/kosarweb/public_html/wp-content/themes/betheme_10.3.1/header.php:10) in /home/kosarweb/public_html/wp-content/plugins/iq-block-country/libs/blockcountry-checks.php on line 337

    How can I solve this?
    Thanks a lot …

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

Viewing 2 replies - 1 through 2 (of 2 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.

    In your case the theme already sends out header info and then the solution will be to deselect the “Send headers when user is blocked”

    Thread Starter Morteza561

    (@morteza561)

    The second way just worked as you said. Seems there is no choice to keep the layout and the message together. But that’s OK for me 😉
    Thanks a lot for your quick support
    Be Happy …

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Conflicts with my theme’ is closed to new replies.