ericferon / glpi-archimap

GLPI plugin for drawing architecture maps (based on draw.io)
GNU General Public License v2.0
19 stars 10 forks source link

PHP error: illegal string offset "name" #17

Closed Stoatwblr closed 5 years ago

Stoatwblr commented 5 years ago

After installation, when opening Assets -> Diagrams for the first time.

[2019-01-31 23:26:54] glpiphplog.ERROR: Toolbox::userErrorHandlerNormal() in /usr/share/glpi/inc/toolbox.class.php line 657 PHP Warning(2): Illegal string offset 'name' Backtrace : inc/commondbtm.class.php:3610 inc/search.class.php:5761 CommonDBTM->searchOptions() inc/search.class.php:5568 Search::getOptions() inc/search.class.php:5424 Search::getCleanedOptions() inc/search.class.php:74 Search::manageParams() plugins/archimap/front/graph.php:33 Search::show() {"user":"11@msslyz.mssl.ucl.ac.uk","mem_usage":"0.002\", 12.04Mio)"} [2019-01-31 23:26:54] glpiphplog.ERROR: CommonDBTM::searchOptions() in /usr/share/glpi/inc/commondbtm.class.php line 3613 Duplicate key common (D/Characteristics) in PluginArchimapGraph searchOptions! {"user":"11@msslyz.mssl.ucl.ac.uk","mem_usage":"0.000\", 12.04Mio)"} [2019-01-31 23:26:54] glpiphplog.ERROR: Toolbox::userErrorHandlerNormal() in /usr/share/glpi/inc/toolbox.class.php line 657
PHP Warning(2): Illegal string offset 'name' Backtrace : inc/commondbtm.class.php:3617 inc/search.class.php:5761 CommonDBTM->searchOptions() inc/search.class.php:5568 Search::getOptions() inc/search.class.php:5424 Search::getCleanedOptions() inc/search.class.php:74 Search::manageParams() plugins/archimap/front/graph.php:33 Search::show() {"user":"11@msslyz.mssl.ucl.ac.uk","mem_usage":"0.000\", 12.04Mio)"}

ericferon commented 5 years ago

Which plugin version are you using ? Best regards,

ericferon commented 5 years ago

Probably solved in v2.0.16