Closed Cbpenn18 closed 2 years ago
Can you include the full content of the first line of the errors? The line ends in >
when you copied it indicating that the text continues to the right.
My apologies!
[2022-05-10 07:14:41] glpiphplog.CRITICAL: *** Uncaught Exception Error: Class name must be a valid object or a string in /var/www/html/glpi/src/Unmanaged.php at line 282 Backtrace : src/Unmanaged.php:249 Unmanaged->convert() src/MassiveAction.php:1401 Unmanaged::processMassiveActionsForOneItemtype() src/MassiveAction.php:1379 MassiveAction->processForSeveralItemtypes() front/massiveaction.php:57 MassiveAction->process()
[2022-05-10 07:17:18] glpiphplog.CRITICAL: *** Uncaught Exception Error: Class name must be a valid object or a string in /var/www/html/glpi/src/Unmanaged.php at line 282 Backtrace : src/Unmanaged.php:249 Unmanaged->convert() src/MassiveAction.php:1401 Unmanaged::processMassiveActionsForOneItemtype() src/MassiveAction.php:1379 MassiveAction->processForSeveralItemtypes() front/massiveaction.php:57 MassiveAction->process()
[2022-05-10 07:34:45] glpiphplog.CRITICAL: *** Uncaught Exception Error: Class name must be a valid object or a string in /var/www/html/glpi/src/Unmanaged.php at line 282 Backtrace : src/Unmanaged.php:249 Unmanaged->convert() src/MassiveAction.php:1401 Unmanaged::processMassiveActionsForOneItemtype() src/MassiveAction.php:1379 MassiveAction->processForSeveralItemtypes() front/massiveaction.php:57 MassiveAction->process()
**/glpi/front/massiveaction.php
Version glpi 10.0 last fix 10052022
I try same issue blank page
Action and convertion to networkequipment for example
[2022-05-10 19:52:09] glpiphplog.WARNING: *** PHP Warning (2): Undefined array key "NetworkEquipment" in /var/www/html/glpi/src/Unmanaged.php at line 251
Backtrace :
src/MassiveAction.php:1403 Unmanaged::processMassiveActionsForOneItemtype()
src/MassiveAction.php:1381 MassiveAction->processForSeveralItemtypes()
front/massiveaction.php:59 MassiveAction->process()
[2022-05-10 19:52:09] glpiphplog.CRITICAL: *** Uncaught Exception Error: Class name must be a valid object or a string in /var/www/html/glpi/src/Unmanaged.php at line 285
Backtrace :
src/Unmanaged.php:252 Unmanaged->convert()
src/MassiveAction.php:1403 Unmanaged::processMassiveActionsForOneItemtype()
src/MassiveAction.php:1381 MassiveAction->processForSeveralItemtypes()
front/massiveaction.php:59 MassiveAction->process()
Code of Conduct
Is there an existing issue for this?
Version
GLPI 10
Bug description
Attempting to convert unmanaged devices fails every time, no matter how many are selected for the mass action. The process looks as if it will complete, but the webpage turns blank, and stays that way until refreshed or closed.
Relevant log output
Page URL
No response
Steps To reproduce
Go to Assets > Unmanaged Devices. Select a device, or multiple devices. Select Actions > Convert > Phone (or another device type, it doesn't matter). Click Submit. Page should go blank and freeze.
Your GLPI setup information
Information about system installation & configuration
Server
GLPI constants
Libraries
LDAP directories
SQL replicas
Notifications
Plugins list
Anything else?
No response