You are not logged in.
Hi, everybody.
Yesterday, i did an update of my Centos 8 with glpi 9.4 and the plugin 'ActualTime' since 1 year ago. Then, when i going to 'tickets' and after 'follow to ticket', i see this error: PHP Notice (8): Trying to access array offset on value of type null in /var/www/glpi/html/plugins/actualtime/inc/task.class.php at line 414
I updated glpi to its last update 9.5 and updated the plugin 'ActualTime' to its last update, but the error appear yet.
The line 414 is this:
return $row['tasks_id']
in the file /var/www/glpi/html/plugins/actualtime/inc/task.class.php. Below this sentence of code:
static function getTask($user_id) {
global $DB;
$query=[
'FROM'=>self::getTable(),
'WHERE'=>[
[
'NOT' => ['actual_begin' => null],
],
'actual_end'=>null,
'users_id'=>$user_id,
]
];
$req=$DB->request($query);
$row=$req->next();
return $row['tasks_id'];
}
I don't know to do with it.
Thank you very much!
Last edited by michael.reyes (2020-12-23 15:58:52)
Offline