Hey,
I'm running OST 1.18.1 on PHP 8.2.24 Apache 2.4.62.
Getting an error when trying to attach a particular PDF file to a ticket response/reply.
The PDF file is just under 10MB and my max upload size in both PHP settings and OST is set to 25MB.
I consulted the PHP log and got the below outpuy. Am wondering if anyone knows what it means off hand? IP address and URL masked.
[Sun Dec 08 00:11:25.309309 2024] [php:warn] [pid 201670:tid 201670] [client [IP REDACTED]:51822] PHP Warning: POST Content-Length of 10039617 bytes exceeds the limit of 8388608 bytes in Unknown on line 0, referer: https://[DOMAIN REDACTED]/scp/tickets.php?id=191
[Sun Dec 08 00:11:25.406662 2024] [php:error] [pid 201670:tid 201670] [client [IP REDACTED]:51822] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/html/include/class.forms.php:3903\nStack trace:\n#0 /var/www/html/include/ajax.forms.php(411): FileUploadField->ajaxUpload()\n#1 /var/www/html/include/class.dispatcher.php(153): DynamicFormsAjaxAPI->attach()\n#2 /var/www/html/include/class.dispatcher.php(40): UrlMatcher->dispatch()\n#3 /var/www/html/include/class.dispatcher.php(119): Dispatcher->resolve()\n#4 /var/www/html/include/class.dispatcher.php(40): UrlMatcher->dispatch()\n#5 /var/www/html/scp/ajax.php(327): Dispatcher->resolve()\n#6 {main}\n thrown in /var/www/html/include/class.forms.php on line 3903, referer: https://[DOMAIN REDACTED]/scp/tickets.php?id=191
[IP REDACTED] - - [08/Dec/2024:00:11:25 +0000] "POST /scp/ajax.php/form/upload/attach HTTP/1.1" 500 673 "https://[DOMAIN REDACTED]/scp/tickets.php?id=191" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"