Znote / ZnoteAAC

Developement repository for the Znote AAC project. A website portal to represent and manage your Open Tibia server.
MIT License
143 stars 127 forks source link

Fix Undefined array key "HTTP_USER_AGENT" in PHP 8.1 #522

Closed luanluciano93 closed 1 year ago

luanluciano93 commented 1 year ago

FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "HTTP_USER_AGENT" in /home/www/index.php on line 4" while reading response header from upstream, client: xxx, server: xxx.com, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.1-fpm.sock:", host: "xxx"