Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 5 in /home/presenth/maproot/plugins/primary-images/index.php:15 Stack trace: #0 /home/presenth/maproot/plugins/primary-images/index.php(15): PDO->prepare('\r\n SELECT\r\n ...') #1 /home/presenth/maproot/components/-templates/type-kommun2/collections/activities.php(32): activityIdsToImageCollection(Array) #2 /home/presenth/maproot/components/-templates/type-kommun2/controller.php(12): {closure}('linkoping', 'motorsport') #3 /home/presenth/maproot/plugins/components/lib/controller.php(14): {closure}('-templates/type...', Array) #4 /home/presenth/maproot/plugins/components/lib/render.php(5): JensTornell\Components\controller('-templates/type...', Array) #5 /home/presenth/maproot/plugins/router/index.php(11): render('-templates/type...', Array) #6 /home/presenth/maproot/plugins/router/li in /home/presenth/maproot/plugins/primary-images/index.php on line 15