Fatal error: Uncaught exception 'PDOException' with message '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 '-40,20' at line 1' in /home/vekalatonline/public_html/Repository/ViewSideLawRepository.php:98
Stack trace:
#0 /home/vekalatonline/public_html/Repository/ViewSideLawRepository.php(98): PDOStatement->execute()
#1 /home/vekalatonline/public_html/index.php(1818): Repository\LawRepository->FindAllLaws(NULL, 1, 'LawID DESC', ' LIMIT -40,20')
#2 {main}
thrown in /home/vekalatonline/public_html/Repository/ViewSideLawRepository.php on line 98