-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined array key "REMOTE_USER" #7
Comments
Are you on the last version? Line 44 does not have any of the remote user call. |
Thanks for your quick reply! Hm - the extension admin page in my Dokuwiki installation does not show any update available. The official plugin page (https://www.dokuwiki.org/plugin:stale) has 2021-09-04 as the last version. This is also what I see in lib/plugins/stale/plugin.info.txt. However here on GitHub it see that there is a version 2023-02-20 available. Should I install this version manually? Anyway - the call is now in line 46. Jörg |
May be a version conflict. The call should not give any warning because it's followed by 2 questions mark. Can you click on the update button to update it and check if you still get the warning? |
Hi again, I had already installed the new version manually, and there is silence in the logs since then. Apparently this has been fixed in the 2023-02-20 version, so sorry for the false alert and thanks very much for your help. Now I have to find out what's wrong with my dokuwiki update manager. But most importantly: Thanks very much for this extremely helpful plugin! Jörg |
Hello,
in the dokuwiki error log, I see lots of errors like:
lib/plugins/stale/helper.php(44) E_WARNING: Undefined array key "REMOTE_USER"
In a similar discussion here: https://forum.dokuwiki.org/d/21686-tplmod-e-warning-undefined-array-key-remote-user
the suggested solution is to replace $_SERVER['REMOTE_USER'] with $INPUT->server->str('REMOTE_USER') - maybe this helps here, too?
Best regards,
Jörg
The text was updated successfully, but these errors were encountered: