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 = 7141' 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_routes.php(637): GetWpts(Array, 100, 0, 0, 0, 5, 0, 1, 45.941026, 7.747589) #3 /home/jkmvtrm/bivouak/www/topos/sommet.php(61): getRoutesAround(65535, NULL, 45.941026, 7.747589, 5) #4 {main} thrown in /home/jkmvtrm/bivouak/www/lib/list_wpt.php on line 302