-
Notifications
You must be signed in to change notification settings - Fork 114
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
get_extra_user_fields() has been removed (Moodle 4.3.3) #75
Comments
Piling on :) Moodle 4.3.3, mod_certificate build 2016061700 while trying to view a certificate, with debugging turned on: Stack trace: EDIT Additionally, we saw the same error message with /mod/certificate/report.php. I found a Moodle dev page (https://docs.moodle.org/dev/User_fields) that recommends what to edit, and I made a similar changes: /mod/certificate/report.php: Comment out line 108 and add:
/mod/certificate/report.php: Comment out line 274 and add:
This seems to work, although I'm not familiar enough with Moodle code to say if all invalid codepaths have been exorcised! |
line 451 of /mod/certificate/locallib.php: call to get_extra_user_fields() I don't know much about moodle so this could be dumb but it worked for me.
|
Hi - thanks for thew advice above. This has fixed the original issues I was seeing but now when I go to generate a new certificate, I get the below error:
Any advice would be massively appreciated. Thanks |
Stopped working. Got this error:
Detectado un error de codificación, debe ser corregido por un programador: get_extra_user_fields() has been removed. Please use the \core_user\fields API instead.
The text was updated successfully, but these errors were encountered: