tomolimo / mailanalyzer

Mail Analyzer GLPI Plugin may be used to combine CC mails into one Ticket
25 stars 10 forks source link

issue with GLPI 9.4.1.1 #25

Closed oscargtoro closed 5 years ago

oscargtoro commented 5 years ago

Hello, I've installed mailanalyzer in an updated version of glpi (9.3 to 9.4.1.1) but the mailgate automatic action is getting stuck and if i try to run it manually i get the next error

`2019/03/20 09:02:07 [error] 20972#20972: *37752 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Class name must be a valid object or a string in /var/www/glpi/glpi/inc/itilfollowup.class.php:321 Stack trace:

0 /var/www/glpi/glpi/inc/commondbtm.class.php(1100): ITILFollowup->prepareInputForAdd(Array)

1 /var/www/glpi/glpi/plugins/mailanalyzer/hook.php(364): CommonDBTM->add(Array)

2 /var/www/glpi/glpi/inc/plugin.class.php(1074): PluginMailAnalyzer::plugin_pre_item_add_mailanalyzer(Object(Ticket))

3 /var/www/glpi/glpi/inc/commondbtm.class.php(1091): Plugin::doHook('pre_item_add', Object(Ticket))

4 /var/www/glpi/glpi/inc/mailcollector.class.php(726): CommonDBTM->add(Array)

5 /var/www/glpi/glpi/inc/mailcollector.class.php(1794): MailCollector->collect('1')

6 /var/www/glpi/glpi/inc/crontask.class.php(829): MailCollector::cronMailgate(Object(CronTask))

7 /var/www/glpi/glpi/front/crontask.form.php(49): CronTask::launch(-1" while reading response header from upstream, client: 192.168.111.108, server: glpi.lan.cdo-sa.com, request: "POST /glpi/front/crontask.form.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "glpi.lan.cdo-sa.com", referrer: "https://glpi/glpi/front/crontask.form.php?id=9"

2019/03/20 09:02:11 [info] 20972#20972: *37842 epoll_wait() reported that client prematurely closed connection, so upstream connection is closed too while sending request to upstream, client: 192.168.103.39, server: glpi.lan.cdo-sa.com, request: "GET /glpi/front/ticket.form.php?id=19966 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "glpi.lan.cdo-sa.com", referrer: "https://glpi/glpi/front/ticket.form.php?id=19966" ` Thank you.