Skip to content

Impossible to create a Bloc #1043

@CyrilMEYRE

Description

@CyrilMEYRE

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.1

Plugin version

1.22.1

Bug description

Impossible to create a new bloc :

Attempted to load class "PluginFieldsTicketpartenaire" from the global namespace.
Did you forget a "use" statement?
In .\plugins\fields\inc\container.class.php(725)
#0 .\plugins\fields\inc\container.class.php(712): PluginFieldsContainer::create()
#1 .\src\CommonDBTM.php(1396): PluginFieldsContainer->post_addItem()
#2 .\plugins\fields\front\container.form.php(43): CommonDBTM->add()
#3 .\src\Glpi\Controller\LegacyFileLoadController.php(64): require('C:\inetpub\glpi...')
#4 .\vendor\symfony\http-kernel\HttpKernel.php(181): Glpi\Controller\LegacyFileLoadController->__invoke()
#5 .\vendor\symfony\http-kernel\HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#6 .\vendor\symfony\http-kernel\Kernel.php(197): Symfony\Component\HttpKernel\HttpKernel->handle()
#7 .\public\index.php(70): Symfony\Component\HttpKernel\Kernel->handle()
#8 {main}

Relevant log output

Attempted to load class "PluginFieldsTicketpartenaire" from the global namespace.
Did you forget a "use" statement?
In .\plugins\fields\inc\container.class.php(725)
#0 .\plugins\fields\inc\container.class.php(712): PluginFieldsContainer::create()
#1 .\src\CommonDBTM.php(1396): PluginFieldsContainer->post_addItem()
#2 .\plugins\fields\front\container.form.php(43): CommonDBTM->add()
#3 .\src\Glpi\Controller\LegacyFileLoadController.php(64): require('C:\\inetpub\\glpi...')
#4 .\vendor\symfony\http-kernel\HttpKernel.php(181): Glpi\Controller\LegacyFileLoadController->__invoke()
#5 .\vendor\symfony\http-kernel\HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#6 .\vendor\symfony\http-kernel\Kernel.php(197): Symfony\Component\HttpKernel\HttpKernel->handle()
#7 .\public\index.php(70): Symfony\Component\HttpKernel\Kernel->handle()
#8 {main}

Page URL

/plugins/fields/front/container.php

Steps To reproduce

Try to create a new bloc (from fresh intall).

GLPI 10.0.16 to 11.0.1 (recent upgrade).

Your GLPI setup information

PHP 8.4
GLPI 11.0.1

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions