Warning: Attempt to read property "geonameId" on null in /home/jkmvtrm/bivouak/www/lib/list_wpt.php on line 299

Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id = 6135' at line 1 in /home/jkmvtrm/bivouak/www/lib/list_wpt.php:302 Stack trace: #0 /home/jkmvtrm/bivouak/www/lib/list_wpt.php(302): mysqli_query(Object(mysqli), 'UPDATE waypoint...') #1 /home/jkmvtrm/bivouak/www/lib/list_wpt.php(252): UpdateGeonameId(Array) #2 /home/jkmvtrm/bivouak/www/lib/list_topos.php(713): GetWpts(Array, 0, 0, '112', 0, 5, 1, 0) #3 /home/jkmvtrm/bivouak/www/topos/topos.php(30): GetTopo('278', Array, '2351') #4 {main} thrown in /home/jkmvtrm/bivouak/www/lib/list_wpt.php on line 302