You are not logged in.
Hi, after upgrading from GLPI 10.0.6 to 10.0.7 cron.php is telling me: "PHP Notice: Undefined index: account_number in 'src/NotificationTargetContract.php' on line 70 PHP Notice". Deployed PHP-Version is 7.4.33.
Thanks,
Carsten
Last edited by cdeibert (2023-04-17 10:57:30)
Offline
Hello,
I made a patch to fix this issue. Can you test it to make sure it fully resolves the issue for you?
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
Hi Curtis,
thanks for the fix, I changed " $contract['account_number'];" to "$contract['accounting_number'];", unfortunately I do not know the exact conditions to trigger the PHP Notice since the message is not triggered all the time, but I am confident about it.
Best,
Carsten
Offline
Hello Mr Curtis, I upgraded glpi to version 10.0.7 after that Crontab works in Linux ubuntu but none of the automated tasks work. Notifications are not sent. automatic ticket closing does not work. So none of the automated processes are working. Where am I doing wrong can someone help?
Before GLPI: 10.0.5
Upgrated GLPI: 10.0.7
OS: Ubuntu 22.04.2 LTS
PHP: 8.2
Mysql: 8.0.33
Apache2: 2.4.52
GPLI Path: /var/www/html/glpi/
Crontab Content:
* * * * * /usr/bin/php /var/www/html/glpi/front/cron.php
* * * * * /usr/bin/php /var/www/html/glpi/front/cron.php --debug
* * * * * php GLPI/front/cron.php
* * * * * php GLPI/front/cron.php --force mailgate
*/1 * * * * root cd /var/www/html/glpi/front/ && php cron.php
*/1 * * * * www-data cd /var/www/html/glpi/front/ && php cron.php
* * * * * apache /usr/bin/php /var/www/html/glpi/front/cron.php &>/dev/null
*/1 * * * * /usr/bin/php8.2 /usr/share/glpi/front/cron.php
Last edited by velidinc (2023-05-12 15:11:09)
Offline