You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2022-05-17 16:26:45

ekataniss
Member
Registered: 2015-04-02
Posts: 25

Errors in tickets in GLPI 9.5.7

Hi
I have GLPI 9.5.7 and I get following error in ticket's menu "Processing ticket":

Notice: Undefined Variable: Userdata In C:\Xampp\Htdocs\Helpdesk\Inc\Commonitilobject.Class.Php On Line 7550

Notice: Trying To Access Array Offset On Value Of Type Null In C:\Xampp\Htdocs\Helpdesk\Inc\Commonitilobject.Class.Php On Line 7550

If I add any "Followup" in this ticket the error disappears.
How can I fix this error?
Thanks a lot

Offline

#2 2022-05-17 23:52:32

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,814
Website

Re: Errors in tickets in GLPI 9.5.7

I don't think there is going to be another bug fix version for 9.5 but I did confirm that it looks like a bug.

On line 7550, you should be able to replace the text "$userdata" with "$reqdata" to resolve the issue.
I'll check later to see if this affects GLPI 10 and make a patch if it does, but I think this code was rewritten in the new version.


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

#3 2022-05-18 12:58:12

ekataniss
Member
Registered: 2015-04-02
Posts: 25

Re: Errors in tickets in GLPI 9.5.7

Thanks for your help. It resolved the issue.

Offline

#4 2022-05-18 13:26:51

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,814
Website

Re: Errors in tickets in GLPI 9.5.7

The affected code is not present in GLPI 10 so it should be OK for when you are ready to upgrade.


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

Board footer

Powered by FluxBB