h5p / moodle-mod_hvp

H5P Plugin for Moodle
GNU General Public License v3.0
131 stars 168 forks source link

get_all_user_name_fields() deprecated since Moodle 3.11 #539

Open danowar2k opened 4 months ago

danowar2k commented 4 months ago

Found in my logs:

Debugging: get_all_user_name_fields() is deprecated. Please use the \\core_user\\fields API instead in 
* line 3280 of /lib/deprecatedlib.php: call to debugging()
* line 582 of /mod/hvp/locallib.php: call to get_all_user_name_fields()
* line 664 of /mod/hvp/locallib.php: call to hvp_send_notification_messages()
* line ? of unknownfile: call to hvp_attempt_submitted_handler()
* line 155 of /lib/classes/event/manager.php: call to call_user_func()
* line 75 of /lib/classes/event/manager.php: call to core\\event\\manager::process_buffers()
* line 835 of /lib/classes/event/base.php: call to core\\event\\manager::dispatch()
* line 113 of /mod/hvp/classes/user_grades.php: call to core\\event\\base->trigger()
* line 167 of /mod/hvp/ajax.php: call to mod_hvp\\user_grades::handle_ajax()
melanietreitinger commented 3 weeks ago

Steps to reproduce:

Error:

Success: