Skip to content

cant access config in glpi 11.0.0 #150

@Justify87

Description

@Justify87

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

Plugin version

2.5.0

Bug description

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

Version

11

Bug description

Uncaught exception when accessing the config page

Relevant log output

[2025-10-01 16:20:37] glpi.WARNING:   *** Warning: Undefined array key "id" at config.form.php line 59
  Backtrace :
  .\marketplace\sccm\front\config.form.php:59        
  ...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()

[2025-10-01 16:20:37] glpi.CRITICAL:   *** Uncaught PHP Exception Twig\Error\SyntaxError: "Unknown "__s" function. Did you mean "__" in "@sccm/config.html.twig" at line 42?" at config.html.twig line 42
  Backtrace :
  .\marketplace\sccm\templates\config.html.twig:42   
  ...ionParser\Infix\FunctionExpressionParser.php:51 Twig\Parser->getFunction()
  .\vendor\twig\twig\src\Parser.php:384              Twig\ExpressionParser\Infix\FunctionExpressionParser->parse()
  ...rc\ExpressionParser\Infix\ArgumentsTrait.php:53 Twig\Parser->parseExpression()
  ...rc\ExpressionParser\Infix\ArgumentsTrait.php:28 Twig\ExpressionParser\Infix\DotExpressionParser->parseNamedArguments()
  ...pressionParser\Infix\DotExpressionParser.php:64 Twig\ExpressionParser\Infix\DotExpressionParser->parseCallableArguments()
  .\vendor\twig\twig\src\Parser.php:384              Twig\ExpressionParser\Infix\DotExpressionParser->parse()
  .\vendor\twig\twig\src\Parser.php:174              Twig\Parser->parseExpression()
  ...ig\twig\src\TokenParser\BlockTokenParser.php:46 Twig\Parser->subparse()
  .\vendor\twig\twig\src\Parser.php:218              Twig\TokenParser\BlockTokenParser->parse()
  .\vendor\twig\twig\src\Parser.php:101              Twig\Parser->subparse()
  .\vendor\twig\twig\src\Environment.php:558         Twig\Parser->parse()
  .\vendor\twig\twig\src\Environment.php:589         Twig\Environment->parse()
  .\vendor\twig\twig\src\Environment.php:408         Twig\Environment->compileSource()
  .\vendor\twig\twig\src\Environment.php:370         Twig\Environment->loadTemplate()
  ...\Glpi\Application\View\TemplateRenderer.php:188 Twig\Environment->load()
  .\marketplace\sccm\inc\config.class.php:283        Glpi\Application\View\TemplateRenderer->display()
  .\src\CommonGLPI.php:683                           PluginSccmConfig->showForm()
  .\ajax\common.tabs.php:108                         CommonGLPI::displayStandardTab()
  ...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()

Page URL

No response

Steps To reproduce

  1. install update
  2. update sccm plugin
  3. access config page

Your GLPI setup information

GLPI information
GLPI: 11.0.0 ( => E:\xampp\htdocs\glpi)
Installation mode: TARBALL
Current language: de_DE
Server
Operating system: Windows NT WSGLPI 10.0 build 17763 (Windows Server 2019) AMD64

PHP: 8.2.29 apache2handler

PHP extensions: Core, bcmath, calendar, ctype, date, filter, hash, iconv, json, SPL, pcre, random, readline, Reflection,
session, standard, mysqlnd, tokenizer, zlib, libxml, dom, PDO, bz2, SimpleXML, xml, xmlreader, xmlwriter, apache2handler,
openssl, ldap, curl, fileinfo, gd, gettext, intl, mbstring, exif, mysqli, pdo_mysql, pdo_sqlite, sqlsrv, pdo_sqlsrv, PDO_ODBC,
odbc, zip, Phar, ftp

Setup: disable_functions="" max_execution_time="720" max_input_vars="1000" memory_limit="2084M" post_max_size="40M"
session.cookie_secure="0" session.cookie_httponly="1" session.cookie_samesite="" session.save_handler="files"
upload_max_filesize="40M"

Web server: Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.29 (Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.29 Server at localhost
Port 80)

User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36
Edg/140.0.0.0

Database:

Server Software: mariadb.org binary distribution

Server Version: 12.0.2-MariaDB

Server SQL Mode: NO_ZERO_IN_DATE,NO_ZERO_DATE,NO_ENGINE_SUBSTITUTION

Parameters: glpi@localhost/glpi

Host info: localhost via TCP/IP

Requirements:
PHP version (8.2.29) is supported.
OS and PHP are relying on 64 bits integers.
Sessions configuration is OK.
Allocated memory is sufficient.
Following extensions are installed: dom, fileinfo, filter, libxml, simplexml, tokenizer, xmlreader,
xmlwriter.
mysqli extension is installed
curl extension is installed
gd extension is installed
intl extension is installed
mbstring extension is installed
zlib extension is installed
bcmath extension is installed
The constant
SODIUM_CRYPTO_AEAD_XCHACHA20POLY1305_IETF_NPUBBYTES is present.
openssl extension is installed
Database engine version (12.0.2) is supported.
The log file has been created successfully.
Write access to E:\xampp\htdocs\glpi/files/_cache has
been validated.
Write access to E:\xampp\htdocs\glpi/files/_cron has been validated.
Write access to E:\xampp\htdocs\glpi/files has been validated.
Write access to E:\xampp\htdocs\glpi/files/_graphs has been validated.
Write access to E:\xampp\htdocs\glpi/files/_lock has been validated.
Write access to E:\xampp\htdocs\glpi/files/_pictures has been validated.
Write access to E:\xampp\htdocs\glpi/files/_plugins has been validated.
Write access to E:\xampp\htdocs\glpi/files/_rss has been validated.
Write access to E:\xampp\htdocs\glpi/files/_sessions has been validated.
Write access to E:\xampp\htdocs\glpi/files/_tmp has been validated.
Write access to E:\xampp\htdocs\glpi/files/_uploads has been validated.

Sessions configuration is secured.
exif extension is installed
ldap extension is installed
Following extensions are installed: bz2,
Phar, zip.
Zend OPcache extension is not present
Following extensions are installed: ctype, iconv.
Following extensions are not present: sodium.
Write access to
E:\xampp\htdocs\glpi/marketplace has been validated.
Timezones seems not loaded, see
https://glpi-install.readthedocs.io/en/latest/timezones.html.

GLPI constants
GLPI_ROOT: "E:\xampp\htdocs\glpi"
GLPI_VERSION: "11.0.0"
GLPI_SCHEMA_VERSION: "11.0.0@ea2dbba0e1edbf5128d73bdb23c2c9b9f68468ba"
GLPI_FILES_VERSION: "11.0.0-f682f73d"
GLPI_MIN_PHP: "8.2"
GLPI_MAX_PHP: "8.5"
GLPI_YEAR: "2025"
GLPI_I18N_DIR: "E:\xampp\htdocs\glpi/locales"
GLPI_ENVIRONMENT_TYPE: "production"
GLPI_CONFIG_DIR: "E:\xampp\htdocs\glpi/config"
GLPI_VAR_DIR: "E:\xampp\htdocs\glpi/files"
GLPI_MARKETPLACE_DIR: "E:\xampp\htdocs\glpi/marketplace"
GLPI_ALLOW_IFRAME_IN_RICH_TEXT: false
GLPI_SERVERSIDE_URL_ALLOWLIST: ["^\n (http|https|feed)://
# protocol\n (\n (?:\n
(?:xn--[a-z0-9-]++\.)*+xn--[a-z0-9-]++ # a domain name using punycode\n
|\n (?:[\pL\pN\pS\pM\-\]++\.)+[\pL\pN\pM]++ # a multi-level domain
name\n |\n [a-z0-9\-\
]++
# a single-level domain name\n )\.?\n |
# or\n \d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
# an IP address\n | #
or\n \[\n
(?:(?:(?:(?:(?:(?:(?:[0-9a-f]{1,4})):){6})(?:(?:(?:(?:(?:[0-9a-f]{1,4})):(?:(?:[0-9a-f]{1,4})))|(?:(?:(?:(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9]))\.){3}(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9])))))))|(?:(?:::(?:(?:(?:[0-9a-f]{1,4})):){5})(?:(?:(?:(?:(?:[0-9a-f]{1,4})):(?:(?:[0-9a-f]{1,4})))|(?:(?:(?:(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9]))\.){3}(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9])))))))|(?:(?:(?:(?:(?:[0-9a-f]{1,4})))?::(?:(?:(?:[0-9a-f]{1,4})):){4})(?:(?:(?:(?:(?:[0-9a-f]{1,4})):(?:(?:[0-9a-f]{1,4})))|(?:(?:(?:(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9]))\.){3}(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9])))))))|(?:(?:(?:(?:(?:(?:[0-9a-f]{1,4})):){0,1}(?:(?:[0-9a-f]{1,4})))?::(?:(?:(?:[0-9a-f]{1,4})):){3})(?:(?:(?:(?:(?:[0-9a-f]{1,4})):(?:(?:[0-9a-f]{1,4})))|(?:(?:(?:(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9]))\.){3}(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9])))))))|(?:(?:(?:(?:(?:(?:[0-9a-f]{1,4})):){0,2}(?:(?:[0-9a-f]{1,4})))?::(?:(?:(?:[0-9a-f]{1,4})):){2})(?:(?:(?:(?:(?:[0-9a-f]{1,4})):(?:(?:[0-9a-f]{1,4})))|(?:(?:(?:(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9]))\.){3}(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9])))))))|(?:(?:(?:(?:(?:(?:[0-9a-f]{1,4})):){0,3}(?:(?:[0-9a-f]{1,4})))?::(?:(?:[0-9a-f]{1,4})):)(?:(?:(?:(?:(?:[0-9a-f]{1,4})):(?:(?:[0-9a-f]{1,4})))|(?:(?:(?:(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9]))\.){3}(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9])))))))|(?:(?:(?:(?:(?:(?:[0-9a-f]{1,4})):){0,4}(?:(?:[0-9a-f]{1,4})))?::)(?:(?:(?:(?:(?:[0-9a-f]{1,4})):(?:(?:[0-9a-f]{1,4})))|(?:(?:(?:(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9]))\.){3}(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9])))))))|(?:(?:(?:(?:(?:(?:[0-9a-f]{1,4})):){0,5}(?:(?:[0-9a-f]{1,4})))?::)(?:(?:[0-9a-f]{1,4})))|(?:(?:(?:(?:(?:(?:[0-9a-f]{1,4})):){0,6}(?:(?:[0-9a-f]{1,4})))?::))))\n
\] # an IPv6 address\n
)\n (?:/ (?:[\pL\pN\pS\pM\-._\
!$&'()+,;=:@]|%[0-9A-Fa-f]{2}) )* # a path\n
(?:\? (?:[\pL\pN\-._\~!$&'\\+,;=:@/?]|%[0-9A-Fa-f]{2}) )? # a query (optional)\n
$~ixuD"]
GLPI_DISALLOWED_UPLOADS_PATTERN: "/\.(php\d*|phar)$/i"
GLPI_TELEMETRY_URI: "https://telemetry.glpi-project.org"
GLPI_INSTALL_MODE: "TARBALL"
GLPI_NETWORK_MAIL: "glpi@teclib.com"
GLPI_NETWORK_SERVICES: "https://services.glpi-network.com"
GLPI_MARKETPLACE_ENABLE: 3
GLPI_MARKETPLACE_PRERELEASES: false
GLPI_MARKETPLACE_ALLOW_OVERRIDE: true
GLPI_MARKETPLACE_MANUAL_DOWNLOADS: true
GLPI_USER_AGENT_EXTRA_COMMENTS: ""
GLPI_DOCUMENTATION_ROOT_URL: "https://links.glpi-project.org"
GLPI_DISABLE_ONLY_FULL_GROUP_BY_SQL_MODE: "1"
GLPI_LOG_LVL: "warning"
GLPI_SKIP_UPDATES: false
GLPI_STRICT_ENV: false
GLPI_AJAX_DASHBOARD: "1"
GLPI_CALDAV_IMPORT_STATE: 0
GLPI_CENTRAL_WARNINGS: "1"
GLPI_SYSTEM_CRON: false
GLPI_TEXT_MAXSIZE: "4000"
GLPI_WEBHOOK_ALLOW_RESPONSE_SAVING: "0"
GLPI_WEBHOOK_CRA_MANDATORY: false
GLPI_ALTCHA_MODE: "interactive"
GLPI_ALTCHA_MAX_NUMBER: 50000
GLPI_ALTCHA_EXPIRATION_INTERVAL: "PT20M"
GLPI_DOC_DIR: "E:\xampp\htdocs\glpi/files"
GLPI_CACHE_DIR: "E:\xampp\htdocs\glpi/files/_cache"
GLPI_CRON_DIR: "E:\xampp\htdocs\glpi/files/_cron"
GLPI_GRAPH_DIR: "E:\xampp\htdocs\glpi/files/_graphs"
GLPI_LOCAL_I18N_DIR: "E:\xampp\htdocs\glpi/files/_locales"
GLPI_LOCK_DIR: "E:\xampp\htdocs\glpi/files/_lock"
GLPI_LOG_DIR: "E:\xampp\htdocs\glpi/files/_log"
GLPI_PICTURE_DIR: "E:\xampp\htdocs\glpi/files/_pictures"
GLPI_PLUGIN_DOC_DIR: "E:\xampp\htdocs\glpi/files/_plugins"
GLPI_RSS_DIR: "E:\xampp\htdocs\glpi/files/_rss"
GLPI_SESSION_DIR: "E:\xampp\htdocs\glpi/files/_sessions"
GLPI_TMP_DIR: "E:\xampp\htdocs\glpi/files/_tmp"
GLPI_UPLOAD_DIR: "E:\xampp\htdocs\glpi/files/_uploads"
GLPI_INVENTORY_DIR: "E:\xampp\htdocs\glpi/files/_inventories"
GLPI_THEMES_DIR: "E:\xampp\htdocs\glpi/files/_themes"
GLPI_PLUGINS_DIRECTORIES: ["E:\xampp\htdocs\glpi/marketplace","E:\xampp\htdocs\glpi/plugins"]
GLPI_NETWORK_REGISTRATION_API_URL: "https://services.glpi-network.com/api/registration/"
GLPI_MARKETPLACE_PLUGINS_API_URI: "https://services.glpi-network.com/api/marketplace/"
LDAP Verzeichnisse
Server: '',
Port: '389',
BaseDN: 'OU=DH,DC=,DC=local',
Connection filter: '(&(objectClass=user)(objectCategory=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))',
RootDN: &#39',
Use TLS: none
SQL Replikationen
Not active
Notifications
Way of sending emails: PHP
Plugins list
barcode              Name: Barcode                        Version: 2.7.1      State: Installiert / nicht aktiviert
Install Method: Marketplace
datainjection Name: Data injection Version: 2.15.0 State: Aktiv
Install Method: Marketplace
manageentities Name: Entities portal Version: 4.1.0 State: Installiert / nicht aktiviert
Install Method: Marketplace
formcreator Name: Formcreator End-of-Life Update Version: 3.0.0 State: Aktiv
Install Method: Marketplace
glpiinventory Name: GLPI Inventory Version: 1.6.0 State: Aktiv
Install Method: Marketplace
pdf Name: Print to pdf Version: 4.1.0 State: Aktiv
Install Method: Marketplace
sccm Name: SCCM Version: 2.5.0 State: Aktiv
Install Method: Marketplace

EDIT: deleted ldap stuff in this log/system info because of security concerns

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions