PHP language error
I am having trouble installing my own hubzilla hub. I have created mysql database, configured db schema, put all needed credentials into .htconfig.php file.
What I am getting in logs is this:
Got error 'PHP message: PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countab le|array, null given in /var/www/html/mysite.net/include/language.php:35\nStack trace:\n#0 /var/www/html/mysite.net/include/language.php(64): get_browser_language()\n#1 /var/www/html/mysite. net/Zotlabs/Web/WebServer.php(19): get_best_language()\n#2 /var/www/html/mysite.net/index.php(14): Zotlabs\\Web\\WebServer->run()\n#3 {main}\n thrown in /var/www/html/mysite.net/include/language.php on lin e 35'
I am using Debian 11 (with php8.2 from Debian testing), I tried going with official installation guide without luck, then tried to go with this fresh guide.
Any tips what may be wrong ?