When changing a renew date for a service as a staff member, and entering an invalid date, an exception is thrown.
To reproduce, click to Manage a clients service from their profile page. Under Actions, select "Change Renew Date". Enter something like "2021-04-45" and save.
The following error is written to the logs and a white page is dispalyed.
[2021-03-30T18:25:07.762501+00:00] general.ERROR: Exception: DateTime::_construct(): Failed to parse time string (2021-04-45) at position 9 (5): Unexpected character in /home/blestau/public_html/501/vendors/minphp/date/src/Date.php:459 Stack trace: #0 /home/blestau/public_html/501/vendors/minphp/date/src/Date.php(459): DateTime->_construct('2021-04-45', Object(DateTimeZone)) #1 /home/blestau/public_html/501/vendors/minphp/date/src/Date.php(217): Minphp\Date\Date->dateTime('2021-04-45', Object(DateTimeZone)) #2 /home/blestau/public_html/501/app/app_model.php(0): Minphp\Date\Date->format('Y-m-d H:i:s', '2021-04-45') #3 /home/blestau/public_html/501/app/controllers/admin_clients.php(5620): AppModel->dateToUtc('2021-04-45') #4 /home/blestau/public_html/501/vendors/minphp/bridge/src/Lib/Dispatcher.php(142): AdminClients->editService() #5 /home/blestau/public_html/501/index.php(21): Dispatcher::dispatch('/501/admin/clie...') #6
{main}