ERROR IN QUERY:
SELECT * FROM `m_references` AS a LEFT JOIN `m_references_data` AS b ON a.id = b.parent_id WHERE a.status = '1' AND b.lang = '17' AND a.access = 'guest' ORDER BY a.position LIMIT -24,24

ERROR INFO:
(1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-24,24' at line 7

ERROR LOCATION:
into file /home/elbakhabulin/public_html/e5cms/modules/references/web.php on line 256