ERROR IN QUERY:
SELECT a.id, a.img,a.img_title, b.url_alias, b.item_info,b.item_title
FROM `m_catalog_products` AS a
LEFT JOIN `m_catalog_products_data` AS b ON a.id = b.item_id
LEFT JOIN `m_catalog_products_attr` AS c ON a.id = c.product_id
WHERE b.lang = '17' AND a.status = '1' AND a.access = 'guest'
AND (`subcateg`='28' OR `subcateg`='1' OR `subcateg`='6' OR `subcateg`='12' OR `subcateg`='15' OR `subcateg`='56' OR `subcateg`='58')
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 MariaDB server version for the right syntax to use near '-6,6' at line 9
ERROR LOCATION:
into file /home/aurel/public_html/e5cms/modules/catalog/web.php on line 358