xeenych I've migrated from my old dw server to a new one and this errors started to appera on some pages: Warning: Undefined array key "hid" in html.php on line 114 How to fix this problem?
pop Impossible to say. You didn't tell us anything about the version of your DokuWiki, what kind of server, what php version or, indeed, anything.
xeenych It is strange. The error is gone, but new errors appeared: Warning: Undefined array key "REMOTE_USER" in /var/www/html/dokuwiki/lib/plugins/data/helper.php on line 506 Warning: Trying to access array offset on value of type null in /var/www/html/dokuwiki/lib/plugins/data/helper.php on line 507 Here is the page: http://62.173.147.65/dokuwiki/doku.php/region/%D1%82%D0%B5%D1%80%D1%81%D0%BA%D0%B5%D0%B9_%D0%B7%D0%B0%D0%BF%D0%B0%D0%B4 Here is the info: http://62.173.147.65/dokuwiki/info.php Lighttpd, php8.1, Dokuwiki Igor. Debian 11
sascha-leib It would be good to know which template you are using, and which plugins are installed... and also whcih version of PHP this is running on... I had similar errors under PHP 8.1, but everything seems to work under 8.0 ... just as a hint.
cercamon I was experiencing random error 502. On checking my webserver logs I noticed a PHP Warning: PHP Warning: Undefined array key "hid" in /usr/share/webapps/dokuwiki/inc/html.php on line 114 To fix it, I had to edit that line, to: $data['hid'] = strtolower($data['hid'] ?? ''); Source: https://github.com/splitbrain/dokuwiki/issues/3751