Since moodle 3.11 the function get_all_user_name_fields() was deprecated and is now in deprecatedlib.php, i suggest to use the new /core_user/fields API instead in "mod/journal/classes/task/cron_task.php"
See an example here: https://github.com/catalyst/moodle-mod_facetoface/issues/63
Since moodle 3.11 the function get_all_user_name_fields() was deprecated and is now in deprecatedlib.php, i suggest to use the new /core_user/fields API instead in "mod/journal/classes/task/cron_task.php" See an example here: https://github.com/catalyst/moodle-mod_facetoface/issues/63