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 '-12' at line 8' in /home/svcot/htdocs/app/core/Database.php:56
Stack trace:
#0 /home/svcot/htdocs/app/core/Database.php(56): PDOStatement->execute()
#1 /home/svcot/htdocs/app/core/Database.php(61): Database->execute()
#2 /home/svcot/htdocs/app/models/Member.php(79): Database->resultSet()
#3 /home/svcot/htdocs/app/controllers/Doctors.php(40): Member->getMembers(12, -12, Array)
#4 [internal function]: Doctors->index()
#5 /home/svcot/htdocs/app/core/App.php(51): call_user_func_array(Array, Array)
#6 /home/svcot/htdocs/public/index.php(11): App->__construct()
#7 {main}
thrown in /home/svcot/htdocs/app/core/Database.php on line 56