wpexpertsio / password-protected

Password protect your WordPress site quickly and simply
https://wordpress.org/plugins/password-protected/
69 stars 63 forks source link

PHP Notice: Undefined index: HTTP_HOST in ... password-protected.php on line 390 #190

Open GigiCooper opened 3 years ago

GigiCooper commented 3 years ago

I was waiting for some updates but none of them solved this problem on my sites. The error log is full of this: PHP Notice: Undefined index: HTTP_HOST in ... password-protected.php on line 390 PHP Warning: Cannot modify header information - headers already sent by (output started at ... password-protected.php:390) in ... wp-includes/pluggable.php on line 1340 PHP Warning: Cannot modify header information - headers already sent by (output started at ... password-protected.php:390) in ... wp-includes/pluggable.php on line 1343