• cobragym

    (@cobragym)


    this is the line referenced in the error:
    $pageURL = ‘http’;if ($_SERVER[“HTTPS”] == “on”) {$pageURL .= “s”;}$pageURL .= “://”;
    I can’t spot the error – can anyone help?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    Would you mind quoting the complete error, please? The error can be a bit misleading as to what line the problem is on.

    Thread Starter cobragym

    (@cobragym)

    this is the complete error:
    Notice: Undefined index: HTTPS in /home/weddingf/public_html/cobragymnastics.com/wp-login.php on line 585

    Warning: Cannot modify header information – headers already sent by (output started at /home/weddingf/public_html/cobragymnastics.com/wp-login.php:585) in /home/weddingf/public_html/cobragymnastics.com/wp-includes/pluggable.php on line 866

    Moderator James Huff

    (@macmanx)

    Ok, so that header error is being caused by the first error, Undefined index: HTTPS

    That means that HTTPS is not actually enabled on your server, which is … incredibly unusual.

    I recommend reporting the issue to your hosting provider immediately.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Warning: Cannot modify header information’ is closed to new replies.