Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SIm card - Unable to add a SIM card, #19018

Open
Otijom opened this issue Feb 19, 2025 · 0 comments
Open

SIm card - Unable to add a SIM card, #19018

Otijom opened this issue Feb 19, 2025 · 0 comments
Assignees

Comments

@Otijom
Copy link

Otijom commented Feb 19, 2025

Unable to add a SIM card, an error message appears as soon as you click +Add :

An exception has been thrown during the rendering of a template ("strlen(): Argument #1 ($string) must be of type string, array given").
In ./templates/components/form/item_device.html.twig(119)
#0 ./vendor/twig/twig/src/Template.php(344): Twig\Template->yield()
#1 ./vendor/twig/twig/src/TemplateWrapper.php(61): Twig\Template->display()
#2 ./src/Glpi/Application/View/TemplateRenderer.php(183): Twig\TemplateWrapper->display()
#3 ./src/Item_Devices.php(1535): Glpi\Application\View\TemplateRenderer->display()
#4 ./src/CommonGLPI.php(667): Item_Devices->showForm()
#5 ./ajax/common.tabs.php(109): CommonGLPI::displayStandardTab()
#6 ./src/Glpi/Controller/LegacyFileLoadController.php(59): require('...')
#7 ./vendor/symfony/http-kernel/HttpKernel.php(101): Glpi\Controller\LegacyFileLoadController->Glpi\Controller\{closure}()
#8 ./vendor/symfony/http-foundation/StreamedResponse.php(106): Symfony\Component\HttpKernel\HttpKernel::Symfony\Component\HttpKernel\{closure}()
#9 ./vendor/symfony/http-foundation/Response.php(423): Symfony\Component\HttpFoundation\StreamedResponse->sendContent()
#10 ./src/Glpi/Kernel/Kernel.php(241): Symfony\Component\HttpFoundation\Response->send()
#11 ./public/index.php(58): Glpi\Kernel\Kernel->sendResponse()
#12 {main}

Previous: strlen(): Argument #1 ($string) must be of type string, array given
In ./src/Dropdown.php(174)
#0 ./src/CommonDBTM.php(4300): Dropdown::show()
#1 ./src/Glpi/Application/View/Extension/ItemtypeExtension.php(98): CommonDBTM::dropdown()
#2 ._files/_cache/templates/44/44fbf59d3707b47764898bea5f1d2e06.php(2149): Glpi\Application\View\Extension\ItemtypeExtension->getItemtypeDropdown()
#3 ./vendor/twig/twig/src/Extension/CoreExtension.php(2079): __TwigTemplate_3a325a41bc4697f493cf31b6a33bc1cf->{closure}()
#4 ._files/_cache/templates/44/44fbf59d3707b47764898bea5f1d2e06.php(2146): Twig\Extension\CoreExtension::captureOutput()
#5 ./vendor/twig/twig/src/Extension/CoreExtension.php(2079): __TwigTemplate_3a325a41bc4697f493cf31b6a33bc1cf->{closure}()
#6 ._files/_cache/templates/44/44fbf59d3707b47764898bea5f1d2e06.php(2086): Twig\Extension\CoreExtension::captureOutput()
#7 ._files/_cache/templates/88/88d690772934917f1367520e17970bd8.php(195): __TwigTemplate_3a325a41bc4697f493cf31b6a33bc1cf->macro_dropdownField()
#8 ./vendor/twig/twig/src/Template.php(388): __TwigTemplate_ccc278218d314ef888b885dda6998cda->doDisplay()
#9 ./vendor/twig/twig/src/Template.php(344): Twig\Template->yield()
#10 ./vendor/twig/twig/src/TemplateWrapper.php(61): Twig\Template->display()
#11 ./src/Glpi/Application/View/TemplateRenderer.php(183): Twig\TemplateWrapper->display()
#12 ./src/Item_Devices.php(1535): Glpi\Application\View\TemplateRenderer->display()
#13 ./src/CommonGLPI.php(667): Item_Devices->showForm()
#14 ./ajax/common.tabs.php(109): CommonGLPI::displayStandardTab()
#15 ./src/Glpi/Controller/LegacyFileLoadController.php(59): require('...')
#16 ./vendor/symfony/http-kernel/HttpKernel.php(101): Glpi\Controller\LegacyFileLoadController->Glpi\Controller\{closure}()
#17 ./vendor/symfony/http-foundation/StreamedResponse.php(106): Symfony\Component\HttpKernel\HttpKernel::Symfony\Component\HttpKernel\{closure}()
#18 ./vendor/symfony/http-foundation/Response.php(423): Symfony\Component\HttpFoundation\StreamedResponse->sendContent()
#19 ./src/Glpi/Kernel/Kernel.php(241): Symfony\Component\HttpFoundation\Response->send()
#20 ./public/index.php(58): Glpi\Kernel\Kernel->sendResponse()
#21 {main}
@SebSept SebSept self-assigned this Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants