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 2023-10-06 10:37:06

eulglpi
Member
Registered: 2023-06-09
Posts: 8

CSRF check failed

Hi everyone,

we are facing an issue where when we try to register a machine in the fusioninventory, the GLPI crashes, throws a 500 error. If we reload the page and try to register again, it doesn't throw it. I attach the error messages:

access-errors: CSRF check failed for User ID: 14 at /front/computer.form.php

php-errors:

*** PHP Warning (2): gzuncompress(): data error in \glpi\marketplace\fusioninventory\inc\lock.class.php at line 824
  Backtrace :
  marketplace\fusioninventory\inc\lock.class.php:824 gzuncompress()
  marketplace\fusioninventory\inc\lock.class.php:752 PluginFusioninventoryLock->getSerializedInventoryArray()
  src\Plugin.php:1528                                PluginFusioninventoryLock::deleteLock()
  src\CommonDBTM.php:1686                            Plugin::doHook()
  marketplace\fusioninventory\inc\lock.class.php:601 CommonDBTM->update()
  marketplace\fusioninventory\hook.php:2008          PluginFusioninventoryLock::addLocks()
  src\Plugin.php:1528                                plugin_item_update_fusioninventory()
  src\CommonDBTM.php:1686                            Plugin::doHook()
  front\computer.form.php:114                        CommonDBTM->update()

*** PHP Warning (2): Trying to access array offset on value of type bool in \glpi\marketplace\fusioninventory\inc\lock.class.php at line 825
  Backtrace :
  marketplace\fusioninventory\inc\lock.class.php:752 PluginFusioninventoryLock->getSerializedInventoryArray()
  src\Plugin.php:1528                                PluginFusioninventoryLock::deleteLock()
  src\CommonDBTM.php:1686                            Plugin::doHook()
  marketplace\fusioninventory\inc\lock.class.php:601 CommonDBTM->update()
  marketplace\fusioninventory\hook.php:2008          PluginFusioninventoryLock::addLocks()
  src\Plugin.php:1528                                plugin_item_update_fusioninventory()
  src\CommonDBTM.php:1686                            Plugin::doHook()
  front\computer.form.php:114                        CommonDBTM->update()

glpiphplog.WARNING:   *** PHP Warning (2): foreach() argument must be of type array|object, null given in \glpi\marketplace\fusioninventory\inc\lock.class.php at line 753
  Backtrace :
  src\Plugin.php:1528                                PluginFusioninventoryLock::deleteLock()
  src\CommonDBTM.php:1686                            Plugin::doHook()
  marketplace\fusioninventory\inc\lock.class.php:601 CommonDBTM->update()
  marketplace\fusioninventory\hook.php:2008          PluginFusioninventoryLock::addLocks()
  src\Plugin.php:1528                                plugin_item_update_fusioninventory()
  src\CommonDBTM.php:1686                            Plugin::doHook()
  front\computer.form.php:114                        CommonDBTM->update()
 

Does anyone know a solution?

Offline

Board footer

Powered by FluxBB