Hello, i am getting this error when I open owntracks app and upload my position to server:
[Mon Feb 10 17:55:04.901548 2020] [:error] [pid 11687] [client xxxxx:63983] PHP Notice: Undefined variable: sql in /var/www/map/public_html/lib/recorder/OwntracksRecorder.php on line 114
[Mon Feb 10 17:55:04.901581 2020] [:error] [pid 11687] [client xxxxx:63983] PHP Fatal error: Uncaught Error: Call to a member function getFriends() on null in /var/www/map/public_html/lib/recorder/OwntracksRecorder.php:114\nStack trace:\n#0 /var/www/map/public_html/record.php(78): OwntracksRecorder->getFriendsLocation(Object(OwntracksRecordStructure))\n#1 {main}\n thrown in /var/www/map/public_html/lib/recorder/OwntracksRecorder.php on line 114
Hello, i am getting this error when I open owntracks app and upload my position to server:
[Mon Feb 10 17:55:04.901548 2020] [:error] [pid 11687] [client xxxxx:63983] PHP Notice: Undefined variable: sql in /var/www/map/public_html/lib/recorder/OwntracksRecorder.php on line 114
[Mon Feb 10 17:55:04.901581 2020] [:error] [pid 11687] [client xxxxx:63983] PHP Fatal error: Uncaught Error: Call to a member function getFriends() on null in /var/www/map/public_html/lib/recorder/OwntracksRecorder.php:114\nStack trace:\n#0 /var/www/map/public_html/record.php(78): OwntracksRecorder->getFriendsLocation(Object(OwntracksRecordStructure))\n#1 {main}\n thrown in /var/www/map/public_html/lib/recorder/OwntracksRecorder.php on line 114
any idea what could be the cause ?
I am running on:
also i've noticed maybe error on line 26 in record.php - there is .php twice require_once('lib/db/MySqlPdo.php.php');
Btw great work :)