-
Notifications
You must be signed in to change notification settings - Fork 18
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
Notice: Undefined property: stdClass::$email in /var/www/vhosts/azubi49.de/httpdocs/auth/enrolkey/auth.php on line 264 #52
Comments
Can you shed any light on the preconditions, ie does this happen with all users or only certain users, or when certain fields are not filled out? the $USER->email field is pretty standard was this used with a weird user with no email address? |
stdClass::$email in /var/www/vhosts/azubi49.de/httpdocs/auth/enrolkey/auth.php on line 264 Sadly still getting the error. Tested it now. I get it with newly signed up users after they created an account and have to verify their email. |
@wemakefuture you still haven't shared any steps on how to reproduce this. Can you start by please confirming you are on the latest version from this git repo? Those line numbers don't match any code around email so I suspect it is not the latest |
Hi @brendanheywood we are on the latest version. I jumped in to line 264 of the auth.php (I am mostly a python dev.) there I don't see the variable email:
So my assumption was to auth_enrolkey | emailconfirmation to "no" and the error disappeared when I now sign up I dont get any error. |
hhmm that is just weird. At least we are on the same page as to the code on disk. But the error message line numbers still don't match anything useful so I don't really know what that means. Do you get anything better out of the web server error logs? |
Hello getting following error. Sign Up is still working. Moodle 3.9.1., Nginx, Linux 18.04. Maria DB 10.3.
Issue Message:
Notice: Undefined property: stdClass::$email in /var/www/vhosts/azubi49.de/httpdocs/auth/enrolkey/auth.php on line 264
Um sicherzugehen, dass sich niemand unberechtigt über die von Ihnen angegebene E-Mail anmeldet, wird eine automatische Benachrichtigung an diese Adresse {$a} gesendet.
Die Benachrichtigung enthält eine Anleitung, wie Sie Ihre Registrierung bestätigen. Danach sind Sie auf dieser Moodle-Seite registriert und können sofort loslegen.
Bei Problemen wenden Sie sich bitte an die Administrator/innen der Website.
The text was updated successfully, but these errors were encountered: