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 'AND loc.category = loccategory.id' at line 1 in /data/1/c/1c9e2f94-de61-428f-b8d5-f56bc5af4c8a/lidmanarkivet.se/web/include/page/loc.php:94
Stack trace:
#0 /data/1/c/1c9e2f94-de61-428f-b8d5-f56bc5af4c8a/lidmanarkivet.se/web/include/page/loc.php(94): mysqli->query('SELECT UPPER(lo...')
#1 /data/1/c/1c9e2f94-de61-428f-b8d5-f56bc5af4c8a/lidmanarkivet.se/web/index.php(35): loc(NULL, Object(mysqli))
#2 {main}
thrown in /data/1/c/1c9e2f94-de61-428f-b8d5-f56bc5af4c8a/lidmanarkivet.se/web/include/page/loc.php on line 94