I wanted to piggy back off of this, as I'm having the same issue on 2 of 4 clients. My error messages look a little different, but similar--maybe more descriptive? A couple lines apart from @jabad
I am on PHP 8.3, nginx 1.27.0, ITFlow up-to-date.
2024/07/08 10:13:23 [error] 3106831#3106831: *87443 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined variable $software_created_at in /opt/itflow/client_software_add_modal.php on line 157; PHP message: PHP Fatal error: Uncaught mysqli_sql_exception: Incorrect DATETIME value: '' in /opt/itflow/client_software_add_modal.php:157
Stack trace:
#0 /opt/itflow/client_software_add_modal.php(157): mysqli_query()
#1 /opt/itflow/client_software.php(182): require_once('...')
#2 {main}
thrown in /opt/itflow/client_software_add_modal.php on line 157" while reading upstream, client: <ipv6prefix>:a45d:722:24f0:d41a, server: <domain>, request: "GET /client_software.php?client_id=1 HTTP/3.0", upstream: "fastcgi://unix:/var/run/php/php-fpm.sock:", referrer: "https://<domain>/client_overview.php?client_id=1"
And then on the other client…
2024/07/08 10:16:22 [error] 3106830#3106830: *87480 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined variable $software_created_at in /opt/itflow/client_software_add_modal.php on line 157; PHP message: PHP Fatal error: Uncaught mysqli_sql_exception: Incorrect DATETIME value: '' in /opt/itflow/client_software_add_modal.php:157
Stack trace:
#0 /opt/itflow/client_software_add_modal.php(157): mysqli_query()
#1 /opt/itflow/client_software.php(182): require_once('...')
#2 {main}
thrown in /opt/itflow/client_software_add
modal.php on line 157" while reading upstream, client: <ipv6prefix
>:a45d:722:24f0:d41a, server: <domain>, request: "GET /client_software.php?client_id=2 HTTP/3.0", upstream: "fastcgi://unix:/var/run/php/php-fpm.sock:", referrer: "https://<domain>/client_overview.php?client_id=2"