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 '-1, 1' at line 3 in /var/www/html/includes/class/PagedResults.php:49
Stack trace:
#0 /var/www/html/includes/class/PagedResults.php(49): mysqli->prepare()
#1 /var/www/html/photos/SpeciesStampPhotos.php(39): PagedResults->__construct()
#2 {main}
thrown in /var/www/html/includes/class/PagedResults.php on line 49