When trying to update a domain I'm taken to a 500 error page
This page isn't working at the moment
can't currently handle this request.
This is on a freshly installed server, I've also tried using the lued/itflow docker image and the demo and have been able to replicate the same issue.
From the error logs I'm seeing
[php:error] PHP Fatal error: Uncaught mysqli_sql_exception: Incorrect date value: '1984' for column `itflow`.`domains`.`domain_expire` at row 1 in /var/www/html/post.php:6225\nStack trace:\n#0 /var/www/html/post.php(6225): mysqli_query()\n#1 {main}\n thrown in /var/www/html/post.php on line 6225
[php:error] PHP Fatal error: Uncaught mysqli_sql_exception: Incorrect date value: '1985' for}\n thrown in /var/www/html/post.php on line 6225, referer: /client_domains.php?client_id=1
The line in question is
mysqli_query($mysqli,"UPDATE domains SET domain_name = '$name', domain_registrar = $registrar, domain_webhost = $webhost, domain_expire = $expire, domain_ip = '$a', domain_name_servers = '$ns', domain_mail_servers = '$mx', domain_txt = '$txt', domain_raw_whois = '$whois' WHERE domain_id = $domain_id");
I was trying to add a vendor to an existing domain, I've also tried just editing and just clicking save, I have also tried removing the expiry date but no joys.
Any help would be appreciated,