Error while executing query: 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 '-5' at line 1

Fatal error: Uncaught Error: Wrong parameters for Exception([string $message [, long $code [, Throwable $previous = NULL]]]) in /www/wwwroot/momindex.ca/includes/dbAccess.class.php:1487 Stack trace: #0 /www/wwwroot/momindex.ca/includes/dbAccess.class.php(1487): Exception->__construct('Error while exe...', Object(PDOException)) #1 /www/wwwroot/momindex.ca/mom.php(42): dbAccess->getReviewsByMomAndPage('BuzzsEatery', 5, -5) #2 {main} thrown in /www/wwwroot/momindex.ca/includes/dbAccess.class.php on line 1487