Skip to content

Conversation

@RomainLvr
Copy link

@RomainLvr RomainLvr commented Nov 6, 2025

An error occurred during uninstallation :

glpi.CRITICAL:   *** Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\ClassNotFoundError: "Attempted to load class "Install" from namespace "Glpi\Plugin\Formcreator".
Did you forget a "use" statement for another namespace?" at hook.php line 78
  Backtrace :
  ./plugins/formcreator/hook.php:78                  
  ./src/Plugin.php:1095                              plugin_formcreator_uninstall()
  :                                                  Plugin->uninstall()
  ./src/Glpi/Marketplace/Controller.php:670          call_user_func()
  ./src/Glpi/Marketplace/Controller.php:577          Glpi\Marketplace\Controller->setPluginState()
  ./ajax/marketplace.php:66                          Glpi\Marketplace\Controller->uninstallPlugin()
  ...Glpi/Controller/LegacyFileLoadController.php:64 require()
  ./vendor/symfony/http-kernel/HttpKernel.php:181    Glpi\Controller\LegacyFileLoadController->__invoke()
  ./vendor/symfony/http-kernel/HttpKernel.php:76     Symfony\Component\HttpKernel\HttpKernel->handleRaw()
  ./vendor/symfony/http-kernel/Kernel.php:197        Symfony\Component\HttpKernel\HttpKernel->handle()
  ./public/index.php:70                              Symfony\Component\HttpKernel\Kernel->handle()

@RomainLvr RomainLvr requested review from Rom1-B and stonebuzz November 6, 2025 15:07
@RomainLvr RomainLvr self-assigned this Nov 6, 2025
@stonebuzz stonebuzz merged commit c5483df into support/3.0.0 Nov 10, 2025
3 checks passed
@Rom1-B Rom1-B deleted the fix/class-install-not-found-while-uninstall branch November 10, 2025 08:32
RomainLvr added a commit that referenced this pull request Nov 13, 2025
* Fix (Uninstall) - Restore mini-dashboard delete function (#3621)

* Fix (Uninstall) - Restore mini-dashboard delete function

* Fix phpstan

* Fix phpstan

* Update src/Install.php

Co-authored-by: Romain B. <8530352+Rom1-B@users.noreply.github.com>

* Delete phpunit.xml to avoid CI errors

---------

Co-authored-by: Romain B. <8530352+Rom1-B@users.noreply.github.com>

* Fix (Uninstall) - Class Install not found while uninstall (#3622)

* 3.0.1

* Add empty SQL file

* Ignore phpstan error

* Update CHANGELOG.md

Co-authored-by: Stanislas <skita@teclib.com>

* Apply suggestions from code review

* Release 3.0.1

---------

Co-authored-by: Romain B. <8530352+Rom1-B@users.noreply.github.com>
Co-authored-by: Stanislas <skita@teclib.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants