glpi-project / glpi

GLPI is a Free Asset and IT Management Software package, Data center management, ITIL Service Desk, licenses tracking and software auditing.
https://glpi-project.org
GNU General Public License v3.0
4.07k stars 1.27k forks source link

GLPI Crash when uploading JPEG when creating ticket #15411

Closed c1thunder closed 12 months ago

c1thunder commented 1 year ago

Code of Conduct

Is there an existing issue for this?

Version

10.0.9

Bug description

In the system, we already allow for JPEG. We test using another image type, for example png and it works fine.

System prompting this error when we uploading jpeg into the ticket WhatsApp Image 2023-08-16 at 11 51 55

then when we try to click on the homepage, the system prompted this error and kicked us out

image

we tried to disable the plugins and retry. system gave us this error

image

Relevant log output

PHP error log:
[16-Aug-2023 10:31:02 Asia/Kuala_Lumpur] PHP Warning:  Undefined array key "glpiactiveprofile" in C:\wamp64\www\glpi\plugins\fields\inc\field.class.php on line 988
[16-Aug-2023 10:31:02 Asia/Kuala_Lumpur] PHP Stack trace:
[16-Aug-2023 10:31:02 Asia/Kuala_Lumpur] PHP   1. {main}() C:\wamp64\www\glpi\plugins\fields\ajax\container.php:0
[16-Aug-2023 10:31:02 Asia/Kuala_Lumpur] PHP   2. PluginFieldsField::showDomContainer($id = '2', $item = class Ticket { protected $type = -1; protected $displaylist = TRUE; public $showdebug = FALSE; public $taborientation = 'vertical'; public $get_item_to_display_tab = TRUE; public $fields = []; public $input = ['id' => '0', '_glpi_csrf_token' => '26f008e22dfc867545aa39e5879b1d286cd43eeba3e03ceea23ecfc488c1b815', '_skip_default_actor' => '1', '_tickettemplate' => '1', '_predefined_fields' => 'W10=', 'name' => '', 'content' => '<p>TEST</p>', '_filename[0' => '6030115b770184.55170885WhatsApp Image 2023-08-16 at 10.11.34 AM.jpeg', '_prefix_filename[0' => '6030115b770184.55170885', '_tag_filename[0' => '51b51340-a6886e6c-64dc34deabd3c5.05285624', 'entities_id' => '0', 'date' => '', 'type' => '1', 'itilcategories_id' => '0', 'status' => '1', 'requesttypes_id' => '1', 'urgency' => '3', 'impact' => '3', 'priority' => '3', 'locations_id' => '0', 'actiontime' => '0', 'validatortype' => '0', '_add_validation' => '0', '_plugin_fields_type' => 'dom', '_plugin_fields_subtype' => '', 'serialnumberfield' => '', 'laptopnumberfield' => '', '_actors' => '{\\"requester\\":[{\\"itemtype\\":\\"User\\",\\"items_id\\":\\"7\\",\\"use_notification\\":1,\\"alternative_email\\":\\"\\",\\"default_email\\":\\"XXX\\"}],\\"observer\\":[],\\"assign\\":[]}', '_notifications_actorname' => '', '_notifications_actortype' => '', '_notifications_actorindex' => '', '_notifications_alternative_email' => '', 'my_items' => '', 'itemtype' => '0', 'items_id' => '0', 'time_to_own' => '', 'slas_id_tto' => '0', 'time_to_resolve' => '', 'slas_id_ttr' => '0', 'internal_time_to_own' => '', 'olas_id_tto' => '0', 'internal_time_to_resolve' => '', 'olas_id_ttr' => '0', '_link[tickets_id_1' => '0', '_link[link' => '1', '_link[tickets_id_2' => '0']; public $updates = []; public $oldvalues = []; public $dohistory = TRUE; public $history_blacklist = []; public $auto_message_on_action = TRUE; public $no_form_page = FALSE; public $additional_fields_for_dictionnary = []; protected $fkfield = ''; protected $searchopt = FALSE; protected $usenotepad = FALSE; public $deduplicate_queued_notifications = FALSE; public $right = NULL; protected $users = []; public $userlinkclass = 'Ticket_User'; protected $groups = []; public $grouplinkclass = 'Group_Ticket'; protected $suppliers = []; public $supplierlinkclass = 'Supplier_Ticket'; protected $userentity_oncreate = TRUE; protected $last_clone_index = NULL; public $hardwaredatas = []; public $computerfound = 0 }, $type = 'dom', $subtype = '') C:\wamp64\www\glpi\plugins\fields\ajax\container.php:52
[16-Aug-2023 10:31:02 Asia/Kuala_Lumpur] PHP   3. PluginFieldsField::prepareHtmlFields($fields = [3 => ['id' => 3, 'name' => 'serialnumberfield', 'label' => 'Serial Number', 'type' => 'text', 'plugin_fields_containers_id' => 2, 'ranking' => 1, 'default_value' => '', 'is_active' => 1, 'is_readonly' => 0, 'mandatory' => 1, 'multiple' => 0, 'allowed_values' => NULL], 4 => ['id' => 4, 'name' => 'laptopnumberfield', 'label' => 'Laptop Number', 'type' => 'text', 'plugin_fields_containers_id' => 2, 'ranking' => 2, 'default_value' => '', 'is_active' => 1, 'is_readonly' => 0, 'mandatory' => 1, 'multiple' => 0, 'allowed_values' => NULL]], $item = class Ticket { protected $type = -1; protected $displaylist = TRUE; public $showdebug = FALSE; public $taborientation = 'vertical'; public $get_item_to_display_tab = TRUE; public $fields = []; public $input = ['id' => '0', '_glpi_csrf_token' => '26f008e22dfc867545aa39e5879b1d286cd43eeba3e03ceea23ecfc488c1b815', '_skip_default_actor' => '1', '_tickettemplate' => '1', '_predefined_fields' => 'W10=', 'name' => '', 'content' => '<p>TEST</p>', '_filename[0' => '6030115b770184.55170885WhatsApp Image 2023-08-16 at 10.11.34 AM.jpeg', '_prefix_filename[0' => '6030115b770184.55170885', '_tag_filename[0' => '51b51340-a6886e6c-64dc34deabd3c5.05285624', 'entities_id' => '0', 'date' => '', 'type' => '1', 'itilcategories_id' => '0', 'status' => '1', 'requesttypes_id' => '1', 'urgency' => '3', 'impact' => '3', 'priority' => '3', 'locations_id' => '0', 'actiontime' => '0', 'validatortype' => '0', '_add_validation' => '0', '_plugin_fields_type' => 'dom', '_plugin_fields_subtype' => '', 'serialnumberfield' => '', 'laptopnumberfield' => '', '_actors' => '{\\"requester\\":[{\\"itemtype\\":\\"User\\",\\"items_id\\":\\"7\\",\\"use_notification\\":1,\\"alternative_email\\":\\"\\",\\"default_email\\":\\"xxxx\\"}],\\"observer\\":[],\\"assign\\":[]}', '_notifications_actorname' => '', '_notifications_actortype' => '', '_notifications_actorindex' => '', '_notifications_alternative_email' => '', 'my_items' => '', 'itemtype' => '0', 'items_id' => '0', 'time_to_own' => '', 'slas_id_tto' => '0', 'time_to_resolve' => '', 'slas_id_ttr' => '0', 'internal_time_to_own' => '', 'olas_id_tto' => '0', 'internal_time_to_resolve' => '', 'olas_id_ttr' => '0', '_link[tickets_id_1' => '0', '_link[link' => '1', '_link[tickets_id_2' => '0']; public $updates = []; public $oldvalues = []; public $dohistory = TRUE; public $history_blacklist = []; public $auto_message_on_action = TRUE; public $no_form_page = FALSE; public $additional_fields_for_dictionnary = []; protected $fkfield = ''; protected $searchopt = FALSE; protected $usenotepad = FALSE; public $deduplicate_queued_notifications = FALSE; public $right = NULL; protected $users = []; public $userlinkclass = 'Ticket_User'; protected $groups = []; public $grouplinkclass = 'Group_Ticket'; protected $suppliers = []; public $supplierlinkclass = 'Supplier_Ticket'; protected $userentity_oncreate = TRUE; protected $last_clone_index = NULL; public $hardwaredatas = []; public $computerfound = 0 }, $canedit = *uninitialized*, $show_table = *uninitialized*, $massiveaction = *uninitialized*) C:\wamp64\www\glpi\plugins\fields\inc\field.class.php:793
[16-Aug-2023 10:31:02 Asia/Kuala_Lumpur] PHP Warning:  Trying to access array offset on value of type null in C:\wamp64\www\glpi\plugins\fields\inc\field.class.php on line 988
[16-Aug-2023 10:31:02 Asia/Kuala_Lumpur] PHP Stack trace:
[16-Aug-2023 10:31:02 Asia/Kuala_Lumpur] PHP   1. {main}() C:\wamp64\www\glpi\plugins\fields\ajax\container.php:0
[16-Aug-2023 10:31:02 Asia/Kuala_Lumpur] PHP   2. PluginFieldsField::showDomContainer($id = '2', $item = class Ticket { protected $type = -1; protected $displaylist = TRUE; public $showdebug = FALSE; public $taborientation = 'vertical'; public $get_item_to_display_tab = TRUE; public $fields = []; public $input = ['id' => '0', '_glpi_csrf_token' => '26f008e22dfc867545aa39e5879b1d286cd43eeba3e03ceea23ecfc488c1b815', '_skip_default_actor' => '1', '_tickettemplate' => '1', '_predefined_fields' => 'W10=', 'name' => '', 'content' => '<p>TEST</p>', '_filename[0' => '6030115b770184.55170885WhatsApp Image 2023-08-16 at 10.11.34 AM.jpeg', '_prefix_filename[0' => '6030115b770184.55170885', '_tag_filename[0' => '51b51340-a6886e6c-64dc34deabd3c5.05285624', 'entities_id' => '0', 'date' => '', 'type' => '1', 'itilcategories_id' => '0', 'status' => '1', 'requesttypes_id' => '1', 'urgency' => '3', 'impact' => '3', 'priority' => '3', 'locations_id' => '0', 'actiontime' => '0', 'validatortype' => '0', '_add_validation' => '0', '_plugin_fields_type' => 'dom', '_plugin_fields_subtype' => '', 'serialnumberfield' => '', 'laptopnumberfield' => '', '_actors' => '{\\"requester\\":[{\\"itemtype\\":\\"User\\",\\"items_id\\":\\"7\\",\\"use_notification\\":1,\\"alternative_email\\":\\"\\",\\"default_email\\":\\"xxxx\\"}],\\"observer\\":[],\\"assign\\":[]}', '_notifications_actorname' => '', '_notifications_actortype' => '', '_notifications_actorindex' => '', '_notifications_alternative_email' => '', 'my_items' => '', 'itemtype' => '0', 'items_id' => '0', 'time_to_own' => '', 'slas_id_tto' => '0', 'time_to_resolve' => '', 'slas_id_ttr' => '0', 'internal_time_to_own' => '', 'olas_id_tto' => '0', 'internal_time_to_resolve' => '', 'olas_id_ttr' => '0', '_link[tickets_id_1' => '0', '_link[link' => '1', '_link[tickets_id_2' => '0']; public $updates = []; public $oldvalues = []; public $dohistory = TRUE; public $history_blacklist = []; public $auto_message_on_action = TRUE; public $no_form_page = FALSE; public $additional_fields_for_dictionnary = []; protected $fkfield = ''; protected $searchopt = FALSE; protected $usenotepad = FALSE; public $deduplicate_queued_notifications = FALSE; public $right = NULL; protected $users = []; public $userlinkclass = 'Ticket_User'; protected $groups = []; public $grouplinkclass = 'Group_Ticket'; protected $suppliers = []; public $supplierlinkclass = 'Supplier_Ticket'; protected $userentity_oncreate = TRUE; protected $last_clone_index = NULL; public $hardwaredatas = []; public $computerfound = 0 }, $type = 'dom', $subtype = '') C:\wamp64\www\glpi\plugins\fields\ajax\container.php:52
[16-Aug-2023 10:31:02 Asia/Kuala_Lumpur] PHP   3. PluginFieldsField::prepareHtmlFields($fields = [3 => ['id' => 3, 'name' => 'serialnumberfield', 'label' => 'Serial Number', 'type' => 'text', 'plugin_fields_containers_id' => 2, 'ranking' => 1, 'default_value' => '', 'is_active' => 1, 'is_readonly' => 0, 'mandatory' => 1, 'multiple' => 0, 'allowed_values' => NULL], 4 => ['id' => 4, 'name' => 'laptopnumberfield', 'label' => 'Laptop Number', 'type' => 'text', 'plugin_fields_containers_id' => 2, 'ranking' => 2, 'default_value' => '', 'is_active' => 1, 'is_readonly' => 0, 'mandatory' => 1, 'multiple' => 0, 'allowed_values' => NULL]], $item = class Ticket { protected $type = -1; protected $displaylist = TRUE; public $showdebug = FALSE; public $taborientation = 'vertical'; public $get_item_to_display_tab = TRUE; public $fields = []; public $input = ['id' => '0', '_glpi_csrf_token' => '26f008e22dfc867545aa39e5879b1d286cd43eeba3e03ceea23ecfc488c1b815', '_skip_default_actor' => '1', '_tickettemplate' => '1', '_predefined_fields' => 'W10=', 'name' => '', 'content' => '<p>TEST</p>', '_filename[0' => '6030115b770184.55170885WhatsApp Image 2023-08-16 at 10.11.34 AM.jpeg', '_prefix_filename[0' => '6030115b770184.55170885', '_tag_filename[0' => '51b51340-a6886e6c-64dc34deabd3c5.05285624', 'entities_id' => '0', 'date' => '', 'type' => '1', 'itilcategories_id' => '0', 'status' => '1', 'requesttypes_id' => '1', 'urgency' => '3', 'impact' => '3', 'priority' => '3', 'locations_id' => '0', 'actiontime' => '0', 'validatortype' => '0', '_add_validation' => '0', '_plugin_fields_type' => 'dom', '_plugin_fields_subtype' => '', 'serialnumberfield' => '', 'laptopnumberfield' => '', '_actors' => '{\\"requester\\":[{\\"itemtype\\":\\"User\\",\\"items_id\\":\\"7\\",\\"use_notification\\":1,\\"alternative_email\\":\\"\\",\\"default_email\\":\\"xxxx\\"}],\\"observer\\":[],\\"assign\\":[]}', '_notifications_actorname' => '', '_notifications_actortype' => '', '_notifications_actorindex' => '', '_notifications_alternative_email' => '', 'my_items' => '', 'itemtype' => '0', 'items_id' => '0', 'time_to_own' => '', 'slas_id_tto' => '0', 'time_to_resolve' => '', 'slas_id_ttr' => '0', 'internal_time_to_own' => '', 'olas_id_tto' => '0', 'internal_time_to_resolve' => '', 'olas_id_ttr' => '0', '_link[tickets_id_1' => '0', '_link[link' => '1', '_link[tickets_id_2' => '0']; public $updates = []; public $oldvalues = []; public $dohistory = TRUE; public $history_blacklist = []; public $auto_message_on_action = TRUE; public $no_form_page = FALSE; public $additional_fields_for_dictionnary = []; protected $fkfield = ''; protected $searchopt = FALSE; protected $usenotepad = FALSE; public $deduplicate_queued_notifications = FALSE; public $right = NULL; protected $users = []; public $userlinkclass = 'Ticket_User'; protected $groups = []; public $grouplinkclass = 'Group_Ticket'; protected $suppliers = []; public $supplierlinkclass = 'Supplier_Ticket'; protected $userentity_oncreate = TRUE; protected $last_clone_index = NULL; public $hardware

Page URL

No response

Steps To reproduce

Method to replicate

  1. Create a ticket by first uploading a .jpeg image.

  2. Put in a title or description. Then, error occurs. The additional fields added using ‘fields’ plugin disappear and following error message displayed.

  3. Then, when click onto homepage or any other page, user gets kicked out to login page with below error displaying.

  4. When ‘fields’ plugin is disabled, same process is carried out. No error displays but ticket cannot be created and the following page is shown.

  5. Error only occurs with .jpeg files. Same steps replicated with .png file carries no problems.

Your GLPI setup information

Information about system installation & configuration
GLPI 10.0.9 ( => C:\wamp64\www\glpi)
Installation mode: TARBALL
Current language:en_US

Server
 
Operating system: Windows NT PCGAP026 10.0 build 19045 (Windows 10) AMD64
PHP 8.1.13 cgi-fcgi (Core, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, bcmath, bz2, calendar, cgi-fcgi, com_dotnet,
    ctype, curl, date, dom, exif, fileinfo, filter, gd, gettext, gmp, hash, iconv, imap, intl, json, ldap, libxml, mbstring, mysqli,
    mysqlnd, openssl, pcre, pdo_mysql, pdo_sqlite, readline, session, soap, sockets, sqlite3, standard, tokenizer, xdebug, xml,
    xmlreader, xmlwriter, xsl, zip, zlib)
Setup: max_execution_time="120" memory_limit="128M" post_max_size="8M" safe_mode="" session.save_handler="files"
    upload_max_filesize="2M" 
Software: Apache/2.4.54 (Win64) PHP/8.1.13 mod_fcgid/2.3.10-dev (Apache/2.4.54 (Win64) PHP/8.1.13 mod_fcgid/2.3.10-dev Server at
    10.0.0.5 Port 80
)
    Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 Edg/115.0.1901.203
Server Software: MySQL Community Server - GPL
    Server Version: 8.0.31
    Server SQL Mode: 
    Parameters: glpi_admin@localhost/glpi_db
    Host info: localhost via TCP/IP

PHP version (8.1.13) is supported.
Sessions configuration is OK.
Allocated memory is sufficient.
mysqli extension is installed.
Following extensions are installed: dom, fileinfo, filter, libxml, json, simplexml, xmlreader, xmlwriter.
curl extension is installed.
gd extension is installed.
intl extension is installed.
zlib extension is installed.
The constant SODIUM_CRYPTO_AEAD_XCHACHA20POLY1305_IETF_NPUBBYTES is present.
Database engine version (8.0.31) is supported.
No files from previous GLPI version detected.
The log file has been created successfully.
Write access to C:\wamp64\www\glpi/files/_cache has been validated.
Write access to C:\wamp64\www\glpi/config has been validated.
Write access to C:\wamp64\www\glpi/files/_cron has been validated.
Write access to C:\wamp64\www\glpi/files has been validated.
Write access to C:\wamp64\www\glpi/files/_dumps has been validated.
Write access to C:\wamp64\www\glpi/files/_graphs has been validated.
Write access to C:\wamp64\www\glpi/files/_lock has been validated.
Write access to C:\wamp64\www\glpi/files/_pictures has been validated.
Write access to C:\wamp64\www\glpi/files/_plugins has been validated.
Write access to C:\wamp64\www\glpi/files/_rss has been validated.
Write access to C:\wamp64\www\glpi/files/_sessions has been validated.
Write access to C:\wamp64\www\glpi/files/_tmp has been validated.
Write access to C:\wamp64\www\glpi/files/_uploads has been validated.

Web server root directory configuration is not safe as it permits access to non-public files. See installation documentation for more details.
The following directories should be placed outside "C:\wamp64\www\glpi":
‣ "C:\wamp64\www\glpi/files" ("GLPI_VAR_DIR")
‣ "C:\wamp64\www\glpi\config" ("GLPI_CONFIG_DIR")
You can ignore this suggestion if your web server root directory is "C:\wamp64\www\glpi\public".
PHP directive "session.cookie_httponly" should be set to "on" to prevent client-side script to access cookie values.
OS and PHP are relying on 64 bits integers.
exif extension is installed.
ldap extension is installed.
openssl extension is installed.
Following extensions are installed: bz2, Phar, zip.
Zend OPcache extension is installed.
Following extensions are installed: ctype, iconv, mbstring.
Following extensions are not present: sodium.
Write access to C:\wamp64\www\glpi/marketplace has been validated.
Timezones seems not loaded, see https://glpi-install.readthedocs.io/en/latest/timezones.html.

GLPI constants
 
GLPI_ROOT: "C:\\wamp64\\www\\glpi"
GLPI_CONFIG_DIR: "C:\\wamp64\\www\\glpi/config"
GLPI_VAR_DIR: "C:\\wamp64\\www\\glpi/files"
GLPI_MARKETPLACE_DIR: "C:\\wamp64\\www\\glpi/marketplace"
GLPI_USE_CSRF_CHECK: "1"
GLPI_CSRF_EXPIRES: "7200"
GLPI_CSRF_MAX_TOKENS: "100"
GLPI_USE_IDOR_CHECK: "1"
GLPI_IDOR_EXPIRES: "7200"
GLPI_ALLOW_IFRAME_IN_RICH_TEXT: false
GLPI_SERVERSIDE_URL_ALLOWLIST: ["/^(https?|feed):\\/\\/[^@:]+(\\/.*)?$/"]
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_ALLOW_OVERRIDE: true
GLPI_MARKETPLACE_MANUAL_DOWNLOADS: true
GLPI_USER_AGENT_EXTRA_COMMENTS: ""
GLPI_DISABLE_ONLY_FULL_GROUP_BY_SQL_MODE: "1"
GLPI_AJAX_DASHBOARD: "1"
GLPI_CALDAV_IMPORT_STATE: 0
GLPI_DEMO_MODE: "0"
GLPI_CENTRAL_WARNINGS: "1"
GLPI_DOC_DIR: "C:\\wamp64\\www\\glpi/files"
GLPI_CACHE_DIR: "C:\\wamp64\\www\\glpi/files/_cache"
GLPI_CRON_DIR: "C:\\wamp64\\www\\glpi/files/_cron"
GLPI_DUMP_DIR: "C:\\wamp64\\www\\glpi/files/_dumps"
GLPI_GRAPH_DIR: "C:\\wamp64\\www\\glpi/files/_graphs"
GLPI_LOCAL_I18N_DIR: "C:\\wamp64\\www\\glpi/files/_locales"
GLPI_LOCK_DIR: "C:\\wamp64\\www\\glpi/files/_lock"
GLPI_LOG_DIR: "C:\\wamp64\\www\\glpi/files/_log"
GLPI_PICTURE_DIR: "C:\\wamp64\\www\\glpi/files/_pictures"
GLPI_PLUGIN_DOC_DIR: "C:\\wamp64\\www\\glpi/files/_plugins"
GLPI_RSS_DIR: "C:\\wamp64\\www\\glpi/files/_rss"
GLPI_SESSION_DIR: "C:\\wamp64\\www\\glpi/files/_sessions"
GLPI_TMP_DIR: "C:\\wamp64\\www\\glpi/files/_tmp"
GLPI_UPLOAD_DIR: "C:\\wamp64\\www\\glpi/files/_uploads"
GLPI_INVENTORY_DIR: "C:\\wamp64\\www\\glpi/files/_inventories"
GLPI_NETWORK_REGISTRATION_API_URL: "https://services.glpi-network.com/api/registration/"
GLPI_MARKETPLACE_PLUGINS_API_URI: "https://services.glpi-network.com/api/marketplace/"
GLPI_I18N_DIR: "C:\\wamp64\\www\\glpi/locales"
GLPI_VERSION: "10.0.9"
GLPI_SCHEMA_VERSION: "10.0.9@77fc44668eaae89b61d95fe606d20d93d66110cd"
GLPI_MARKETPLACE_PRERELEASES: false
GLPI_MIN_PHP: "7.4.0"
GLPI_MAX_PHP: "8.3.0"
GLPI_YEAR: "2023"

Libraries
 
htmlawed/htmlawed version 1.2.14 in (C:\wamp64\www\glpi\vendor\htmlawed\htmlawed)
phpmailer/phpmailer version 6.8.0 in (C:\wamp64\www\glpi\vendor\phpmailer\phpmailer\src)
simplepie/simplepie version 1.5.8 in (C:\wamp64\www\glpi\vendor\simplepie\simplepie\library)
tecnickcom/tcpdf version 6.6.2 in (C:\wamp64\www\glpi\vendor\tecnickcom\tcpdf)
michelf/php-markdown in (C:\wamp64\www\glpi\vendor\michelf\php-markdown\Michelf)
true/punycode in (C:\wamp64\www\glpi\vendor\true\punycode\src)
iamcal/lib_autolink in (C:\wamp64\www\glpi\vendor\iamcal\lib_autolink)
sabre/dav in (C:\wamp64\www\glpi\vendor\sabre\dav\lib\DAV)
sabre/http in (C:\wamp64\www\glpi\vendor\sabre\http\lib)
sabre/uri in (C:\wamp64\www\glpi\vendor\sabre\uri\lib)
sabre/vobject in (C:\wamp64\www\glpi\vendor\sabre\vobject\lib)
laminas/laminas-i18n in (C:\wamp64\www\glpi\vendor\laminas\laminas-i18n\src)
laminas/laminas-servicemanager in (C:\wamp64\www\glpi\vendor\laminas\laminas-servicemanager\src)
monolog/monolog in (C:\wamp64\www\glpi\vendor\monolog\monolog\src\Monolog)
sebastian/diff in (C:\wamp64\www\glpi\vendor\sebastian\diff\src)
donatj/phpuseragentparser in (C:\wamp64\www\glpi\vendor\donatj\phpuseragentparser\src\UserAgent)
elvanto/litemoji in (C:\wamp64\www\glpi\vendor\elvanto\litemoji\src)
symfony/console in (C:\wamp64\www\glpi\vendor\symfony\console)
scssphp/scssphp in (C:\wamp64\www\glpi\vendor\scssphp\scssphp\src)
laminas/laminas-mail in (C:\wamp64\www\glpi\vendor\laminas\laminas-mail\src\Protocol)
laminas/laminas-mime in (C:\wamp64\www\glpi\vendor\laminas\laminas-mime\src)
rlanvin/php-rrule in (C:\wamp64\www\glpi\vendor\rlanvin\php-rrule\src)
blueimp/jquery-file-upload in (C:\wamp64\www\glpi\vendor\blueimp\jquery-file-upload\server\php)
ramsey/uuid in (C:\wamp64\www\glpi\vendor\ramsey\uuid\src)
psr/log in (C:\wamp64\www\glpi\vendor\psr\log\Psr\Log)
psr/simple-cache in (C:\wamp64\www\glpi\vendor\psr\simple-cache\src)
psr/cache in (C:\wamp64\www\glpi\vendor\psr\cache\src)
league/csv in (C:\wamp64\www\glpi\vendor\league\csv\src)
mexitek/phpcolors in (C:\wamp64\www\glpi\vendor\mexitek\phpcolors\src\Mexitek\PHPColors)
guzzlehttp/guzzle in (C:\wamp64\www\glpi\vendor\guzzlehttp\guzzle\src)
guzzlehttp/psr7 in (C:\wamp64\www\glpi\vendor\guzzlehttp\psr7\src)
glpi-project/inventory_format in (C:\wamp64\www\glpi\vendor\glpi-project\inventory_format\lib\php)
wapmorgan/unified-archive in (C:\wamp64\www\glpi\vendor\wapmorgan\unified-archive\src)
paragonie/sodium_compat in (C:\wamp64\www\glpi\vendor\paragonie\sodium_compat\src)
symfony/cache in (C:\wamp64\www\glpi\vendor\symfony\cache)
html2text/html2text in (C:\wamp64\www\glpi\vendor\html2text\html2text\src)
symfony/css-selector in (C:\wamp64\www\glpi\vendor\symfony\css-selector)
symfony/dom-crawler in (C:\wamp64\www\glpi\vendor\symfony\dom-crawler)
twig/twig in (C:\wamp64\www\glpi\vendor\twig\twig\src)
twig/string-extra in (C:\wamp64\www\glpi\vendor\twig\string-extra)
symfony/polyfill-ctype not found
symfony/polyfill-iconv not found
symfony/polyfill-mbstring not found
symfony/polyfill-php80 not found
symfony/polyfill-php81 not found
symfony/polyfill-php82 in (C:\wamp64\www\glpi\vendor\symfony\polyfill-php82)
league/oauth2-client in (C:\wamp64\www\glpi\vendor\league\oauth2-client\src\Provider)
league/oauth2-google in (C:\wamp64\www\glpi\vendor\league\oauth2-google\src\Provider)
thenetworg/oauth2-azure in (C:\wamp64\www\glpi\vendor\thenetworg\oauth2-azure\src\Provider)

LDAP directories
 
::censored::

SQL replicas
 
Not active

Notifications
 
Way of sending emails: SMTP (anonymous@::censored::.protection.outlook.com)

Plugins list
 
    fields               Name: Additional Fields              Version: 1.20.7     State: Enabled                                 
        Install Method: Manual
    behaviors            Name: Behaviours                     Version: 2.7.2      State: Enabled                                 
        Install Method: Manual
    formcreator          Name: Form Creator                   Version: 2.13.6     State: Enabled                                 
        Install Method: Manual
    loginbyemail         Name: Login By E-mail                Version: 1.0.0      State: Enabled                                 
        Install Method: Manual
    mreporting           Name: More Reporting                 Version: 1.8.2      State: Enabled                                 
        Install Method: Manual
    reports              Name: Reports                        Version: 1.16.0     State: Enabled                                 
        Install Method: Manual

Anything else?

thank you in advance

cconard96 commented 1 year ago

As a test, please disable the opcache PHP extension as well as your plugins and try these steps again. You can do this by putting a ; in front of the zend_extension=opcache line in your php.ini file and then restarting Apache.

c1thunder commented 1 year ago

As a test, please disable the opcache PHP extension as well as your plugins and try these steps again. You can do this by putting a ; in front of the zend_extension=opcache line in your php.ini file and then restart Apache.

thank you, i already set the opcache to disable and restart the apache, but still same error occurred. please advise

image

We run this to our test and prod server, both is popping same result

c1thunder commented 12 months ago

Issue solved. I updated PHP to 8.2.9 and the latest Apache version.