pluginsGLPI / timelineticket

Plugin timelineticket for GLPI
https://github.com/pluginsGLPI/timelineticket
GNU Affero General Public License v3.0
20 stars 13 forks source link

Error Timezone #30

Closed phamorais closed 1 year ago

phamorais commented 1 year ago

hi

When trying to add a follow up a ticket, and solve it with GLPI version 9.5.7 + plugin Version 9.5+1.1, I get the error below

[2023-01-10 09:33:47] glpiphplog.CRITICAL: *** Uncaught Exception Exception: DateTimeZone::construct(): Unknown or bad timezone () in /var/www/html/homologa/plugins/timelineticket/inc/toolbox.class.php at line 386 Backtrace : plugins/timelineticket/inc/toolbox.class.php:386 DateTimeZone->construct() plugins/timelineticket/inc/state.class.php:76 PluginTimelineticketToolbox::convertDateToRightTimezoneForCalendarUse() plugins/timelineticket/hook.php:226 PluginTimelineticketState->createFollowup() inc/plugin.class.php:1368 plugin_timelineticket_ticket_update() inc/commondbtm.class.php:1575 Plugin::doHook() inc/itilsolution.class.php:384 CommonDBTM->update() inc/commondbtm.class.php:1186 ITILSolution->post_addItem() front/itilsolution.form.php:63 CommonDBTM->add()

phamorais commented 1 year ago

+1