-
Bug
-
Resolution: Incomplete
-
Minor
-
None
-
4.0 regressions, 4.0.12, 4.1 regressions, 4.1.7, 4.1.8, 4.1.9, 4.1.10, 4.1.11, 4.2 regressions, 4.2.4, 4.2.5, 4.2.6, 4.2.7, 4.2.8, 4.3 regressions, 4.3.1, 4.3.2, 4.3.3, 4.3.4, 4.3.5, 4.4 regressions, 4.4, 4.4.1
-
None
-
MOODLE_400_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE, MOODLE_403_STABLE, MOODLE_404_STABLE
Mensaje:
No se envían los mensajes del foro: Retardo del fallo: n horas n minutos - mod_forum\task\send_user_notifications ID = #
Recomendación: no permitir espacios en el campo de correo de usuario.
Al intentar ejecutar la tarea se genera el siguiente mensaje.
Verificar que en la línea email (usuario@correo.com ), vemos claramente un espacio que generar el error en el envío de correos del foro.
Server Time: Thu, 02 May 2024 15:24:30 -0400
Execute adhoc task: mod_forum\task\send_user_notifications
Adhoc task id: 20005173
Adhoc task custom data: ["137166"]
... started 15:24:30. Current memory use 2.6 MB.
Debugging increased temporarily due to faildelay of 61440
Sending messages to 1066547 (9799)
++ email_to_user: User 9799 (NOMBRE APELLIDO) email (usuario@correo.com ) is invalid! Not sending. ++
* line 5612 of /lib/moodlelib.php: call to debugging()
* line 102 of /message/output/email/message_output_email.php: call to email_to_user()
* line 506 of /lib/classes/message/manager.php: call to message_output_email->send_message()
* line 382 of /lib/classes/message/manager.php: call to core\message\manager::call_processors()
* line 349 of /lib/classes/message/manager.php: call to core\message\manager::send_message_to_processors()
* line 341 of /lib/messagelib.php: call to core\message\manager::send_message()
* line 391 of /mod/forum/classes/task/send_user_notifications.php: call to message_send()
* line 160 of /mod/forum/classes/task/send_user_notifications.php: call to mod_forum\task\send_user_notifications->send_post()
* line 519 of /lib/classes/cron.php: call to mod_forum\task\send_user_notifications->execute()
* line 348 of /lib/classes/cron.php: call to core\cron::run_inner_adhoc_task()
* line 371 of /lib/classes/cron.php: call to core\cron::run_adhoc_task()
* line 154 of /admin/cli/adhoc_task.php: call to core\cron::run_failed_adhoc_tasks()
++ Error calling message processor email ++
* line 507 of /lib/classes/message/manager.php: call to debugging()
* line 382 of /lib/classes/message/manager.php: call to core\message\manager::call_processors()
* line 349 of /lib/classes/message/manager.php: call to core\message\manager::send_message_to_processors()
* line 341 of /lib/messagelib.php: call to core\message\manager::send_message()
* line 391 of /mod/forum/classes/task/send_user_notifications.php: call to message_send()
* line 160 of /mod/forum/classes/task/send_user_notifications.php: call to mod_forum\task\send_user_notifications->send_post()
* line 519 of /lib/classes/cron.php: call to mod_forum\task\send_user_notifications->execute()
* line 348 of /lib/classes/cron.php: call to core\cron::run_inner_adhoc_task()
* line 371 of /lib/classes/cron.php: call to core\cron::run_adhoc_task()
* line 154 of /admin/cli/adhoc_task.php: call to core\cron::run_failed_adhoc_tasks()
Failed to send post 137166
Sent 0 messages with 1 failures
... used 34 dbqueries
... used 0.27355909347534 seconds
Adhoc task failed: mod_forum\task\send_user_notifications,error/Error sending posts.
Backtrace:
* line 519 of /lib/classes/cron.php: call to mod_forum\task\send_user_notifications->execute()
* line 348 of /lib/classes/cron.php: call to core\cron::run_inner_adhoc_task()
* line 371 of /lib/classes/cron.php: call to core\cron::run_adhoc_task()
* line 154 of /admin/cli/adhoc_task.php: call to core\cron::run_failed_adhoc_tasks()