moodleou / moodle-report_embedquestion

Work in progress. Do not use yet.
1 stars 4 forks source link

Deprecated functions error messages #10

Closed rezeau closed 3 years ago

rezeau commented 3 years ago

Moodle 3.11.1 (Build: 20210712) on localhost Windows Debug messages DEVELOPER: extra Moodle debug messages for developers Embedded questions progress version 2021010700

When viewing Embedded questions progress I get these error messages:

get_all_user_name_fields() is deprecated. Please use the \core_user\fields API instead line 3391 of \lib\deprecatedlib.php: call to debugging() line 128 of \report\embedquestion\classes\utils.php: call to get_all_user_name_fields() line 96 of \report\embedquestion\classes\latest_attempt_table.php: call to report_embedquestion\utils::get_user_fields() line 90 of \report\embedquestion\classes\output\multi_user_course_report.php: call to report_embedquestion\latest_attempt_table->__construct() line 74 of \report\embedquestion\index.php: call to report_embedquestion\output\multi_user_course_report->display_download_content()

get_extra_user_fields() is deprecated. Please use the \core_user\fields API instead. line 3331 of \lib\deprecatedlib.php: call to debugging() line 128 of \report\embedquestion\classes\utils.php: call to get_extra_user_fields() line 96 of \report\embedquestion\classes\latest_attempt_table.php: call to report_embedquestion\utils::get_user_fields() line 90 of \report\embedquestion\classes\output\multi_user_course_report.php: call to report_embedquestion\latest_attempt_table->__construct() line 74 of \report\embedquestion\index.php: call to report_embedquestion\output\multi_user_course_report->display_download_content()

timhunt commented 3 years ago

We have a fix for this which will hopefully be pushed here soon.

timhunt commented 3 years ago

I am working on pushing the new code now, so closing this.