A Database Error Occurred

Error Number: 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 '-20, 20' at line 7

SELECT `doctors`.`id`, `doctors`.`name`, `doctors`.`description`, `departments`.`name` as `department` FROM `doctors` LEFT JOIN `departments` ON `departments`.`id` = `doctors`.`dep_id` WHERE `doctors`.`deleted` =0 AND `doctors`.`status` = 1 AND `doctors`.`lang_id` = '3' LIMIT -20, 20

Filename: models/Doctors_model.php

Line Number: 82