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 '-10, 10' at line 5

SELECT DISTINCT * FROM `psychologist_ro` WHERE `pro_visibility` = 1 ORDER BY `pro_date` DESC LIMIT -10, 10

Filename: core/MY_Model.php

Line Number: 37