catalyst / moodle-tool_emailutils

2 stars 2 forks source link

get_all_user_name_fields() is deprecated #44

Closed Buda9 closed 3 weeks ago

Buda9 commented 8 months ago

Moodle 4.3.3+, php 8.1, nginx, on a page /admin/tool/emailutils/index.php I see these two errors:

Missing config.php setting ($CFG->handlebounces) please review config-dist.php for more information.

get_all_user_name_fields() is deprecated. Please use the \core_user\fields API instead

Log:

2024/03/25 11:41:55 [error] 644355#644355: *673643 FastCGI sent in stderr: "PHP message: Default exception handler: Otkrivena je programerska pogreška, mora ju ispraviti programer: get_all_user_name_fields() is deprecated. Please use the \core_user\fields API instead Debug:
Error code: codingerror
* line 2795 of /lib/deprecatedlib.php: coding_exception thrown
* line 77 of /admin/tool/emailutils/classes/complaints_list.php: call to get_all_user_name_fields()
* line 42 of /admin/tool/emailutils/index.php: call to tool_emailutils\complaints_list->__construct()" while reading upstream...