• Dear Cookie Notice team,

    I’m getting a PHP warning:

    
    Warning: Cannot modify header information - headers already sent
    

    Caused by the headers set in the add_cors_http_header() function (in /includes/frontend.php:

    
    header( "Access-Control-Allow-Origin: https://app.hu-manity.co" );
    header( 'Access-Control-Allow-Methods: GET' );
    

    Please fix this, because it’s causing a warning for *every* page request.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mezzomedia

    (@mezzomedia)

    WordPress latest version
    Cookie Notice 2.02

    Plugin Author dFactory

    (@dfactory)

    Hi,

    This header is only added if you have active account at Cookie Compliance.
    It’s not used in any other situation.

    If you have a Cookie Compliance please reach the internal support – we’d try to check why it triggers the issue (it should not under regular WP installation).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Mute CORS header attempt’ is closed to new replies.