• Resolved toddebner

    (@toddebner)


    I’m getting this error.

    PHP Notice: Undefined index: HTTP_HOST in …../wp-content/plugins/really-simple-ssl/class-front-end.php on line 103

    I have really simple ssl : 3.0.2 on wordpress 4.97
    running on php 7.2

    Any ideas on how to fix it ?

Viewing 1 replies (of 1 total)
  • Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    Although the code should check for this variable, it is a bit unusual that the HTTP_HOST is not set. This is a server variable which is sent by your webserver.

    I’ll add a check to prevent this error for the next update. It’s merged in Git here:
    https://github.com/rlankhorst/really-simple-ssl

    For now, you can disable the wp redirect in settings/ssl, then enable the .htaccess redirect.

    This should make the notice go away.

Viewing 1 replies (of 1 total)
  • The topic ‘Undefined index: HTTP_HOST’ is closed to new replies.