Closed Renton31 closed 4 years ago
Hi,
i have the same problem, see my config
Log
[2020-08-03 12:27:29] glpiphplog.CRITICAL: *** Uncaught Exception TypeError: Argument 1 passed to Dropdown::addNewCondition() must be of the type array, string given, called in /var/www/vhosts/innotec-sa.com/Serveurs/SI/inc/dropdown.class.php on line 157 in /var/www/vhosts/innotec-sa.com/Serveurs/SI/inc/dropdown.class.php at line 278 Backtrace : inc/dropdown.class.php:157 Dropdown::addNewCondition() inc/commondbtm.class.php:3910 Dropdown::show() inc/commondbtm.class.php:4831 CommonDBTM::dropdown() inc/ticket.class.php:6788 CommonDBTM->getValueToSelect() ajax/dropdownMassiveActionField.php:99 Ticket->getValueToSelect()
My config
Server
Operating system: Linux vpscloud.innotec-sa.com 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 PHP 7.2.32 fpm-fcgi (Core, PDO, PDO_ODBC, Phar, Reflection, SPL, SimpleXML, Zend OPcache, bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imagick, imap, intl, ionCube Loader, json, ldap, libxml, mbstring, mysqli, mysqlnd, odbc, openssl, pcre, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, redis, session, soap, sockets, sodium, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib) Setup: max_execution_time="30" memory_limit="128M" post_max_size="8M" safe_mode="" session.save_handler="files" upload_max_filesize="2M" Software: nginx/1.16.1 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36 Server Software: (Ubuntu) Server Version: 5.7.31-0ubuntu0.16.04.1 Server SQL Mode: Parameters: si_innotec_bdu@si_innotec_bdd/si_innotec_bdd Host info: si_innotec_bdd via TCP/IP PHP version is at least 7.2.0 - Perfect! Sessions support is available - Perfect! Allocated memory > 64 Mio - Perfect! mysqli extension is installed ctype extension is installed fileinfo extension is installed json extension is installed mbstring extension is installed iconv extension is installed zlib extension is installed curl extension is installed gd extension is installed simplexml extension is installed intl extension is installed ldap extension is installed apcu extension is not present Zend OPcache extension is installed xmlrpc extension is installed CAS extension is not present exif extension is installed zip extension is installed bz2 extension is installed sodium extension is installed Database version seems correct (5.7.31) - Perfect! Access to timezone database (mysql) is not allowed. The log file has been created successfully. Write access to /var/www/vhosts/innotec-sa.com/Serveurs/SI/config has been validated. Write access to /var/www/vhosts/innotec-sa.com/Serveurs/SI/files has been validated. Write access to /var/www/vhosts/innotec-sa.com/Serveurs/SI/files/_dumps has been validated. Write access to /var/www/vhosts/innotec-sa.com/Serveurs/SI/files/_sessions has been validated. Write access to /var/www/vhosts/innotec-sa.com/Serveurs/SI/files/_cron has been validated. Write access to /var/www/vhosts/innotec-sa.com/Serveurs/SI/files/_graphs has been validated. Write access to /var/www/vhosts/innotec-sa.com/Serveurs/SI/files/_lock has been validated. Write access to /var/www/vhosts/innotec-sa.com/Serveurs/SI/files/_plugins has been validated. Write access to /var/www/vhosts/innotec-sa.com/Serveurs/SI/files/_tmp has been validated. Write access to /var/www/vhosts/innotec-sa.com/Serveurs/SI/files/_cache has been validated. Write access to /var/www/vhosts/innotec-sa.com/Serveurs/SI/files/_rss has been validated. Write access to /var/www/vhosts/innotec-sa.com/Serveurs/SI/files/_uploads has been validated. Write access to /var/www/vhosts/innotec-sa.com/Serveurs/SI/files/_pictures has been validated. Write access to /var/www/vhosts/innotec-sa.com/Serveurs/SI/marketplace has been validated. Web access to files directory is protected PHP Warning (2): file_exists(): open_basedir restriction in effect. File(/usr/sbin/getenforce) is not within the allowed path(s): (/var/www/vhosts/innotec-sa.com/:/tmp/) in /var/www/vhosts/innotec-sa.com/Serveurs/SI/inc/system/requirement/selinux.class.php at line 51
GLPI_ROOT: /var/www/vhosts/innotec-sa.com/Serveurs/SI GLPI_CONFIG_DIR: /var/www/vhosts/innotec-sa.com/Serveurs/SI/config GLPI_VAR_DIR: /var/www/vhosts/innotec-sa.com/Serveurs/SI/files GLPI_MARKETPLACE_DIR: /var/www/vhosts/innotec-sa.com/Serveurs/SI/marketplace GLPI_USE_CSRF_CHECK: 1 GLPI_CSRF_EXPIRES: 7200 GLPI_CSRF_MAX_TOKENS: 100 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_PRERELEASES: GLPI_USER_AGENT_EXTRA_COMMENTS: GLPI_AJAX_DASHBOARD: 1 GLPI_CALDAV_IMPORT_STATE: 0 GLPI_DEMO_MODE: 0 GLPI_FORCE_EMPTY_SQL_MODE: 1 GLPI_FORCE_NATIVE_SQL_TYPES: 1 GLPI_DOC_DIR: /var/www/vhosts/innotec-sa.com/Serveurs/SI/files GLPI_CACHE_DIR: /var/www/vhosts/innotec-sa.com/Serveurs/SI/files/_cache GLPI_CRON_DIR: /var/www/vhosts/innotec-sa.com/Serveurs/SI/files/_cron GLPI_DUMP_DIR: /var/www/vhosts/innotec-sa.com/Serveurs/SI/files/_dumps GLPI_GRAPH_DIR: /var/www/vhosts/innotec-sa.com/Serveurs/SI/files/_graphs GLPI_LOCAL_I18N_DIR: /var/www/vhosts/innotec-sa.com/Serveurs/SI/files/_locales GLPI_LOCK_DIR: /var/www/vhosts/innotec-sa.com/Serveurs/SI/files/_lock GLPI_LOG_DIR: /var/www/vhosts/innotec-sa.com/Serveurs/SI/files/_log GLPI_PICTURE_DIR: /var/www/vhosts/innotec-sa.com/Serveurs/SI/files/_pictures GLPI_PLUGIN_DOC_DIR: /var/www/vhosts/innotec-sa.com/Serveurs/SI/files/_plugins GLPI_RSS_DIR: /var/www/vhosts/innotec-sa.com/Serveurs/SI/files/_rss GLPI_SESSION_DIR: /var/www/vhosts/innotec-sa.com/Serveurs/SI/files/_sessions GLPI_TMP_DIR: /var/www/vhosts/innotec-sa.com/Serveurs/SI/files/_tmp GLPI_UPLOAD_DIR: /var/www/vhosts/innotec-sa.com/Serveurs/SI/files/_uploads GLPI_NETWORK_REGISTRATION_API_URL: https://services.glpi-network.com/api/registration/ GLPI_MARKETPLACE_PLUGINS_API_URI: https://services.glpi-network.com/api/glpi-plugins/ GLPI_I18N_DIR: /var/www/vhosts/innotec-sa.com/Serveurs/SI/locales GLPI_VERSION: 9.5.0 GLPI_SCHEMA_VERSION: 9.5.0 GLPI_MIN_PHP: 7.2.0 GLPI_YEAR: 2020
htmlawed/htmlawed version 1.2.5 in (/var/www/vhosts/innotec-sa.com/Serveurs/SI/vendor/htmlawed/htmlawed) phpmailer/phpmailer version 6.1.6 in (/var/www/vhosts/innotec-sa.com/Serveurs/SI/vendor/phpmailer/phpmailer/src) simplepie/simplepie version 1.5.5 in (/var/www/vhosts/innotec-sa.com/Serveurs/SI/vendor/simplepie/simplepie/library) tecnickcom/tcpdf version 6.3.5 in (/var/www/vhosts/innotec-sa.com/Serveurs/SI/vendor/tecnickcom/tcpdf) michelf/php-markdown in (/var/www/vhosts/innotec-sa.com/Serveurs/SI/vendor/michelf/php-markdown/Michelf) true/punycode in (/var/www/vhosts/innotec-sa.com/Serveurs/SI/vendor/true/punycode/src) iamcal/lib_autolink in (/var/www/vhosts/innotec-sa.com/Serveurs/SI/vendor/iamcal/lib_autolink) sabre/dav in (/var/www/vhosts/innotec-sa.com/Serveurs/SI/vendor/sabre/dav/lib/DAV) sabre/http in (/var/www/vhosts/innotec-sa.com/Serveurs/SI/vendor/sabre/http/lib) sabre/uri in (/var/www/vhosts/innotec-sa.com/Serveurs/SI/vendor/sabre/uri/lib) sabre/vobject in (/var/www/vhosts/innotec-sa.com/Serveurs/SI/vendor/sabre/vobject/lib) laminas/laminas-cache in (/var/www/vhosts/innotec-sa.com/Serveurs/SI/vendor/laminas/laminas-cache/src) laminas/laminas-i18n in (/var/www/vhosts/innotec-sa.com/Serveurs/SI/vendor/laminas/laminas-i18n/src) laminas/laminas-serializer in (/var/www/vhosts/innotec-sa.com/Serveurs/SI/vendor/laminas/laminas-serializer/src) monolog/monolog in (/var/www/vhosts/innotec-sa.com/Serveurs/SI/vendor/monolog/monolog/src/Monolog) sebastian/diff in (/var/www/vhosts/innotec-sa.com/Serveurs/SI/vendor/sebastian/diff/src) elvanto/litemoji in (/var/www/vhosts/innotec-sa.com/Serveurs/SI/vendor/elvanto/litemoji/src) symfony/console in (/var/www/vhosts/innotec-sa.com/Serveurs/SI/vendor/symfony/console) scssphp/scssphp in (/var/www/vhosts/innotec-sa.com/Serveurs/SI/vendor/scssphp/scssphp/src) laminas/laminas-mail in (/var/www/vhosts/innotec-sa.com/Serveurs/SI/vendor/laminas/laminas-mail/src/Protocol) laminas/laminas-mime in (/var/www/vhosts/innotec-sa.com/Serveurs/SI/vendor/laminas/laminas-mime/src) rlanvin/php-rrule in (/var/www/vhosts/innotec-sa.com/Serveurs/SI/vendor/rlanvin/php-rrule/src) blueimp/jquery-file-upload in (/var/www/vhosts/innotec-sa.com/Serveurs/SI/vendor/blueimp/jquery-file-upload/server/php) ramsey/uuid in (/var/www/vhosts/innotec-sa.com/Serveurs/SI/vendor/ramsey/uuid/src) psr/log in (/var/www/vhosts/innotec-sa.com/Serveurs/SI/vendor/psr/log/Psr/Log) psr/simple-cache in (/var/www/vhosts/innotec-sa.com/Serveurs/SI/vendor/psr/simple-cache/src) mexitek/phpcolors in (/var/www/vhosts/innotec-sa.com/Serveurs/SI/vendor/mexitek/phpcolors/src/Mexitek/PHPColors) guzzlehttp/guzzle in (/var/www/vhosts/innotec-sa.com/Serveurs/SI/vendor/guzzlehttp/guzzle/src) wapmorgan/unified-archive in (/var/www/vhosts/innotec-sa.com/Serveurs/SI/vendor/wapmorgan/unified-archive/src) paragonie/sodium_compat in (/var/www/vhosts/innotec-sa.com/Serveurs/SI/vendor/paragonie/sodium_compat/src)
Not active
Way of sending emails: PHP
Additional context it's too a fresh install, and i have the same problem with an upgrade from 9.3.2
I've just tried, and cannot reproduce. Please try with up to date current bugfixes branch (or latest nightly).
Hi Trasher,
i just test with this nightly build, and it's OK, thanks
Great, thanks for the feedback.
Describe the bug
When using certain dropdowns in tickettemplate.form.php, got this error when I select SLAs....
Page(s) URL
/glpi/front/tickettemplate.form.php?id=1
To reproduce
Steps to reproduce the behavior:
Expected behavior
I would like to set my SLAs on the default ticket template.
Logs
Your GLPI setup (you can find it in Setup > General menu, System tab)
Additional context
Fresh install