You are not logged in.
Pages: 1
Hi all,
I try to attach jpg image (4MB) to a ticket task with drag and drop and it takes very long time, and after the task creation there will be an empty task (without picture and text).
I tried this process with a smaller image (200KB) and it works.
I tried to upload the 4MB picture with "Choose files" and browse it from my PC. --It works.
So it works with browse option, but with drag&drop doesnt.
I enabled debug mode in GLPI and there is an error message at tasks with the 4MB picture.
The error message is:
PHP Deprecated function (8192): preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /web/glpi/src/RichText/RichText.php at line 352
OS: CentOS 7
Web server: Apache 2.4.6
PHP: 8.1.24
SQL: MariaDB 10.5.22
Anyone has a suggestion what do we have to do, or is it a bug?
Thanks in advance
Offline
Pages: 1