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-07-28 14:47:26

Lengen1971
Member
Registered: 2022-07-28
Posts: 4

[Newbie] Administration->Unit crashes

Hi there,

GLPI 10.0.0 Copyright (C) 2015-2022 Teclib' and contributors
on
IIS8.5, PHP8.16, MySQL 8.0.12

After a period of configuring GLPI we consider a unit (german: 'Einheit') under Administration to get worse. The checkbox before vanishes and we get following error
when clicking on it:

Uncaught Exception TypeError: CommonDBTM::displayAccessDeniedPage(): Argument #1 ($menus) must be of type array, null given, called in D:\wwwroot\glpi\src\CommonDBTM.php on line 6290 in D:\wwwroot\glpi\src\CommonDBTM.php at line 6190

We do not know what action causes this problem, because we work sporadically on it.

Thanks for help and

w/best regards, Michael

Offline

#2 2022-07-29 03:35:58

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

Re: [Newbie] Administration->Unit crashes

The type error shown should be fixed by:
https://github.com/glpi-project/glpi/pull/12307
The fix will be included in GLPI 10.0.3, but the changes can also be applied manually.

I do not know why you don't have access to the specific items, but the fix should at least let you see the access denied message.


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-07-29 08:27:07

Lengen1971
Member
Registered: 2022-07-28
Posts: 4

Re: [Newbie] Administration->Unit crashes

Hi,

thanx, yes, after applying that I can see and Error Message which says Access Denied.

Anybody else may provide solution? Why do I have no rights, even as Super Root?

Best regards, Michael

Last edited by Lengen1971 (2022-07-29 08:27:15)

Offline

#4 2022-07-30 13:23:16

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

Re: [Newbie] Administration->Unit crashes

Are you in the entity that you are trying to view or at least in one of its parents with "tree structure"/"recursive" mode?


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

#5 2022-08-03 12:43:30

Lengen1971
Member
Registered: 2022-07-28
Posts: 4

Re: [Newbie] Administration->Unit crashes

Hi,
sry for the late answer, no, I cannot get IN the entity, because of the error. So, I´m in the tree root.
GLPI-Error.jpg

best regards
Michael

Last edited by Lengen1971 (2022-08-03 12:46:26)

Offline

#6 2022-08-08 09:10:22

Lengen1971
Member
Registered: 2022-07-28
Posts: 4

Re: [Newbie] Administration->Unit crashes

Hi,

doing some testing:
- Deleted the defect entity from database\glpi_entities. (its ID was 1).
- made a new entity, got the ID 4 -> everything allright.
- changed the new entity ID from 4 to 1 -> error occured.

What´s wrong with ID 1??

Best regards, Michael

Offline

Board footer

Powered by FluxBB