GPSLogger custom URL doesn't work with invalid proximity E-mail
So I got confused and wrote an e-mail message to send as notification instead of the actual e-mail, and then I was unable to track the location for both parties due to an error. I suppose the logging process shouldn't crash because of a relatively minor error.
Server details:
Linux ubuntu-server 4.14.73-136 SMP PREEMPT Mon Oct 1 03:21:48 UTC 2018 armv7l armv7l armv7l GNU/Linux
Apache/2.4.37 (Ubuntu)
PHP Version 7.2.13-1+ubuntu16.04.1
Database charset UTF-8
GPSLogger Log:
TypeError: idn_to_ascii() expects parameter 1 to be string, null given /var/www/nextcloud/lib/private/Mail/Message.php - line 78:
idn_to_ascii(null, 0, 1)
/var/www/nextcloud/lib/private/Mail/Message.php - line 143:
OC\Mail\Message->convertAddresses({ Person is near you: ""})
/var/www/nextcloud/apps/phonetrack/controller/logcontroller.php - line 468:
OC\Mail\Message->setTo({ Person is near you: ""})
/var/www/nextcloud/apps/phonetrack/controller/logcontroller.php - line 201:
OCA\PhoneTrack\Controller\LogController->checkProxim(redacted, redacted, "1", { id: "4",de ... "}, "User", { lat: "redacted ... "}, "Phone")