I'm getting (500) Internal Server Error when using the API.
Log:
2023/03/14 11:17:30 [error] 1576615#1576615: *443432 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function santizeInput() in /home/helpdesk/helpdesk.xxx.net/api/v1/validate_api_key.php:20 Stack trace: thrown in /home/helpdesk/helpdesk.xxx.net/api/v1/validate_api_key.php on line 20" while reading response header from upstream, client: x.x.x.x, server: helpdesk.xxx.net, request: "GET /api/v1/assets/read.php?api_key=xxx&asset_serial=xxx HTTP/2.0", upstream: "fastcgi://unix:/run/php/php7.4-fpm-helpdesk.sock:", host: "helpdesk.xxx.net"