datainjection icon indicating copy to clipboard operation
datainjection copied to clipboard

Data Injection 2.15.9 crashes with Safe\unserialize error

Open DooSys opened this issue 3 months ago • 0 comments

Code of Conduct

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

Is there an existing issue for this?

  • [x] I have searched the existing issues

GLPI Version

10.0.8

Plugin version

2.15.9

Bug description

Hi, After upgrading the Data Injection plugin from version 2.15.8 to 2.15.9, opening the Data Injection page triggers a fatal PHP error.

The issue occurs immediately when accessing Data Injection from the GLPI interface.

Downgrading the plugin to 2.15.8 resolves the issue on the same GLPI instance.

The following error is displayed:

Attempted to call function "unserialize" from namespace "Safe".
Did you mean to call "\unserialize"?

In /var/glpi/marketplace/datainjection/front/clientinjection.form.php(44)

#0 ./src/Glpi/Controller/LegacyFileLoadController.php(64): require()
#1 ./vendor/symfony/http-kernel/HttpKernel.php(181): Glpi\Controller\LegacyFileLoadController->__invoke()
#2 ./vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#3 ./vendor/symfony/http-kernel/Kernel.php(208): Symfony\Component\HttpKernel\HttpKernel->handle()
#4 ./public/index.php(71): Symfony\Component\HttpKernel\Kernel->handle()
#5 {main}

Relevant log output


Page URL

No response

Steps To reproduce

No response

Your GLPI setup information

GLPI version: 11.0.8 GLPI path: /var/www/glpi Installation mode: DOCKER Current language: fr_FR Source integrity: OK Plugin path: /var/glpi/marketplace/datainjection

Anything else?

No response

DooSys avatar Aug 06 '26 11:08 DooSys