cron job failed on moodle 4 with debug message below
Execute scheduled task: Cron task for flashcard (mod_flashcard\task\cron_task)
... started 11:26:30. Current memory use 15.6 MB.
Participants : 1 users
++ String does not exist. Please check your string definition for notifyreview_tpl/flashcard ++
line 10406 of /lib/moodlelib.php: call to debugging()
line 61 of /mod/flashcard/mailtemplatelib.php: call to lang_string->__construct()
line 46 of /mod/flashcard/mailtemplatelib.php: call to flashcard_get_mail_template()
line 114 of /mod/flashcard/cronlib.php: call to flashcard_compile_mail_template()
line 45 of /mod/flashcard/classes/task/cron_task.php: call to flashcard_cron_task()
line 410 of /lib/classes/cron.php: call to mod_flashcard\task\cron_task->execute()
line 194 of /admin/cli/scheduled_task.php: call to core\cron::run_inner_scheduled_task()
... used 8 dbqueries
... used 0.050647020339966 seconds
Scheduled task failed: Cron task for flashcard (mod_flashcard\task\cron_task),implode(): Argument #2 ($array) must be of type ?array, lang_string given
Backtrace:
line 46 of /mod/flashcard/mailtemplatelib.php: call to implode()
line 114 of /mod/flashcard/cronlib.php: call to flashcard_compile_mail_template()
line 45 of /mod/flashcard/classes/task/cron_task.php: call to flashcard_cron_task()
line 410 of /lib/classes/cron.php: call to mod_flashcard\task\cron_task->execute()
line 194 of /admin/cli/scheduled_task.php: call to core\cron::run_inner_scheduled_task()
cron job failed on moodle 4 with debug message below Execute scheduled task: Cron task for flashcard (mod_flashcard\task\cron_task) ... started 11:26:30. Current memory use 15.6 MB. Participants : 1 users ++ String does not exist. Please check your string definition for notifyreview_tpl/flashcard ++