You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2022-12-13 22:11:44

Enzo
Member
Registered: 2021-04-15
Posts: 8

Problème d'envois de notification par mail

Bonsoir tout le monde,

Je me permets de poster ce message car je me retrouve embêter avec les notifications envoyées par mail. En effet je viens de passer sur la version 10.0.5 et depuis... plus rien ne part. Après quelques recherches, voici ce qu'il en est :

- Je reçois les notifications tests
- J'ai suivi les actions de mon CRON et il s'avère que j'ai un message d'erreur lorsqu'il lance QueuedNotification

Erreur durant l'exécution de queuednotification. Vérifiez "/var/www/html/files/_log/php-errors.log" pour davantage de détails.

Lorsque je vais dans php-errors.log j'ai ceci :

[2022-12-13 21:29:01] glpiphplog.WARNING:   *** PHP Warning (2): Undefined array key "filepath" in /var/www/html/src/NotificationEventMailing.php at line 283
  Backtrace :
  src/QueuedNotification.php:602                     NotificationEventMailing::send()
  src/CronTask.php:1018                              QueuedNotification::cronQueuedNotification()
  front/cron.php:84                                  CronTask::launch()

[2022-12-13 21:29:01] glpiphplog.WARNING:   *** PHP Warning (2): Trying to access array offset on value of type bool in /var/www/html/src/NotificationEventMailing.php at line 284
  Backtrace :
  src/QueuedNotification.php:602                     NotificationEventMailing::send()
  src/CronTask.php:1018                              QueuedNotification::cronQueuedNotification()
  front/cron.php:84                                  CronTask::launch()

[2022-12-13 21:29:01] glpiphplog.WARNING:   *** PHP Warning (2): Trying to access array offset on value of type bool in /var/www/html/src/NotificationEventMailing.php at line 285
  Backtrace :
  src/QueuedNotification.php:602                     NotificationEventMailing::send()
  src/CronTask.php:1018                              QueuedNotification::cronQueuedNotification()
  front/cron.php:84                                  CronTask::launch()

[2022-12-13 21:29:01] glpiphplog.CRITICAL:   *** Uncaught Exception DivisionByZeroError: Division by zero in /var/www/html/src/NotificationEventMailing.php at line 289
  Backtrace :
  src/QueuedNotification.php:602                     NotificationEventMailing::send()
  src/CronTask.php:1018                              QueuedNotification::cronQueuedNotification()
  front/cron.php:84                                  CronTask::launch()

Pouvez-vous s'il vous plaît me donner des pistes ?

Je vous remercie d'avance et vous souhaite une bonne soirée.

Last edited by Enzo (2022-12-13 22:30:23)

Offline

#2 2022-12-14 13:02:39

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,433
Website

Re: Problème d'envois de notification par mail

Bonjour,

Il semble qu'il soit bloqué par une mauvaise image en ligne. Le dossier de fichiers a-t-il été déplacé vers la nouvelle instance GLPI après la mise à niveau et les autorisations sont-elles correctement définies ?


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

Board footer

Powered by FluxBB