kkozlik / iquest-wr

Web interface for (cipher) games
GNU General Public License v3.0
0 stars 0 forks source link

Check position with tracker ID unknown to traccar causes PHP fatal error #35

Closed kkozlik closed 8 months ago

kkozlik commented 2 years ago
[Thu Jul 07 22:25:45.140547 2022] [php7:error] [pid 63998] [client 127.0.0.1:45012] PHP Fatal error:  Uncaught Error: Call to a member function getTimestamp() on null in /usr/share/iquest/modules/iquest/classes/Iquest_Tracker.php:174\nStack trace:\n#0 /usr/share/iquest/modules/iquest/apu_iquest.php(1025): Iquest_Tracker->check_location(Object(page_controller))\n#1 /usr/share/serweb-frmwrk/application_layer/page_controller.php(962): apu_iquest->validate_form(Array)\n#2 /usr/share/serweb-frmwrk/application_layer/page_controller.php(1298): page_controller->_validate_html_form()\n#3 /usr/share/iquest/pages/main.php(37): page_controller->start()\n#4 {main}\n  thrown in /usr/share/iquest/modules/iquest/classes/Iquest_Tracker.php on line 174, referer: https://wr.i-quest.cz/main.php?kvrk=62c741448caf8
kkozlik commented 8 months ago

fixed