You are not logged in.
Hello. I'm migrating from 9.5 to 10.0.6. I'm using the "Databases" plugin.
Updated GLPI to version 10 went without problems.
Following the instructions from the project Databases home page - _https://github.com/InfotelGLPI/databases
I execute command in console:
php /var/www/glpi/bin/console migration:databases_plugin_to_core
and getting the following error:
...
Updating profiles...
0/11 [>--------------------------------] 0%Uncaught Exception TypeError: Argument 1 passed to Glpi\Toolbox\Sanitizer:: isNsClassOrCallableIdentifier() must be of the type string, array given, called in /var/www/glpi/src/DBmysql.php on line 1265 in /var/www/glpi/src/Toolbox/Sanitizer.php at line 224
....
How to solve this problem?
Last edited by Fufaev (2023-03-21 14:22:36)
Offline
Solved problem. Add
if (is_array($value)) {$value = exportArrayToDB($value);}
in line 1406 file /var/www/glpi/src/DBmysql.php
if (is_array($new_value)) {$new_value = exportArrayToDB($new_value);}
in line 251 file /var/www/glpi/src/Log.php
Last edited by Fufaev (2023-03-22 12:33:27)
Offline