ticgal / yagp

Yet Another GLPI Plugin
https://tic.gal/en/project/yagp-yet-another-glpi-plugin/
GNU Affero General Public License v3.0
2 stars 1 forks source link

Uncaught Exception TypeError: User::getUsersIdByEmails(): Argument #1 ($email) must be of type string, array given, called in /var/www/glpi/inc/user.class.php on line 495 in /var/www/glpi/inc/user.class.php at line 448 #21

Closed gitsyncuser closed 2 years ago

gitsyncuser commented 2 years ago

<div style=\"position: float-left; background-color: red; z-index: 10000;\"><span class=\"b\">Uncaught Exception TypeError: User::getUsersIdByEmails(): Argument #1 ($email) must be of type string, array given, called in /var/www/glpi/inc/user.class.php on line 495 in /var/www/glpi/inc/user.class.php at line 448

[2022-07-08 12:34:02] glpiphplog.CRITICAL: *** Uncaught Exception TypeError: User::getUsersIdByEmails(): Argument #1 ($email) must be of type string, array given, called in /var/www/glpi/inc/user.class.php on line 495 in /var/www/glpi/inc/user.class.php at line 448 Backtrace : inc/user.class.php:495 User::getUsersIdByEmails() plugins/yagp/inc/ticket.class.php:64 User->getFromDBbyEmail() inc/plugin.class.php:1368 PluginYagpTicket::preAddTicket() inc/commondbtm.class.php:1127 Plugin::doHook() inc/mailcollector.class.php:836 CommonDBTM->add() inc/mailcollector.class.php:1762 MailCollector->collect() inc/crontask.class.php:943 MailCollector::cronMailgate() front/cron.php:83 CronTask::launch()

Numero de la peticion de GLPI: 10483
Creado por GitSync en GLPI por Daniel Couso

gitsyncuser commented 2 years ago

This issue was solved for GLPI 10 at the following PR:

https://github.com/ticgal/yagp/commit/7a754eb4a2f262bdd4db8267d98f3f4229022a94

 

Creado por GitSync en GLPI por Inés Míguez