Skip to content

glpi.CRITICAL: *** Uncaught PHP Exception TypeError: "Safe\json_decode(): Argument #1 ($json) must be of type string, null given, called in ./marketplace/glpiinventory/inc/deploycommon.class.php on line 334" at special_cases.php line 35 #795

@jluis144

Description

@jluis144

Code of Conduct

  • I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • I have searched the existing issues

GLPI Version

11.0.2

Plugin version

1.6.1

Bug description

after migration to GLPI 11.0.2 and GLPI upgrade to 1.6.1, I have this erro on "php-errors.log" file

- error 1
06-11-2025 09:47 glpi.CRITICAL:
*** Uncaught PHP Exception TypeError: "Safe\json_decode(): Argument #1 ($json) must be of type
string, null given, called in ./marketplace/glpiinventory/inc/deploycommon.class.php on line 334" at special_cases.php line 35
Backtrace :
... /thecodingmachine/safe/lib/special_cases.php:35
... ce/glpiinventory/inc/deploycommon.class.php:334 Safe\json_decode()
... lace/glpiinventory/public/b/deploy/index.php:91 PluginGlpiinventoryDeployCommon->run()
... Glpi/Controller/LegacyFileLoadController.php:64 require()
./vendor/symfony/http-kernel/HttpKernel.php:181
./vendor/symfony/http-kernel/HttpKernel.php:76
./vendor/symfony/http-kernel/Kernel.php:197
./public/index.php:70

- error 2
06-11-2025 09:48 glpi.WARNING:
*** Warning: Undefined array key "json" at deploycommon.class.php line 334
Backtrace :
... ce/glpiinventory/inc/deploycommon.class.php:334
... lace/glpiinventory/public/b/deploy/index.php:91 PluginGlpiinventoryDeployCommon->run()
... Glpi/Controller/LegacyFileLoadController.php:64 require()
./vendor/symfony/http-kernel/HttpKernel.php:181
./vendor/symfony/http-kernel/HttpKernel.php:76
./vendor/symfony/http-kernel/Kernel.php:197
./public/index.php:70

deploy jobs do not happen on Clients

Relevant log output

Page URL

No response

Steps To reproduce

No response

Your GLPI setup information

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions