Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 in /data/1/c/1c9e2f94-de61-428f-b8d5-f56bc5af4c8a/lidmanarkivet.se/web/include/function/get_location.php:23
Stack trace:
#0 /data/1/c/1c9e2f94-de61-428f-b8d5-f56bc5af4c8a/lidmanarkivet.se/web/include/function/get_location.php(23): mysqli->execute_query('SELECT id, BP, ...')
#1 /data/1/c/1c9e2f94-de61-428f-b8d5-f56bc5af4c8a/lidmanarkivet.se/web/include/page/picture.php(38): get_location('17771', Object(mysqli), false)
#2 /data/1/c/1c9e2f94-de61-428f-b8d5-f56bc5af4c8a/lidmanarkivet.se/web/index.php(37): picture('54', NULL, Object(mysqli))
#3 {main}
thrown in /data/1/c/1c9e2f94-de61-428f-b8d5-f56bc5af4c8a/lidmanarkivet.se/web/include/function/get_location.php on line 23