ERROR IN QUERY:
SELECT a.id, `title`, `img`, `url_alias`, `intro_text` FROM `m_references_reference` AS a LEFT JOIN `m_references_reference_data` AS b ON a.id = b.parent_id WHERE a.status = '1' AND a.access = 'guest' AND b.lang = '17' ORDER BY a.position ASC LIMIT -6,6

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 '-6,6' at line 4

ERROR LOCATION:
into file /var/www/vhosts/geotehnicki-studio.hr/httpdocs/ebitcms/modules/references/web.php on line 346