SQL Error: 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 '-12, 12' at line 1 at /var/www/erteks/data/www/erteks-nsk.ru/class/Site/Plugin/Catalog.php line 337
Array
(
    [code] => 1064
    [message] => 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 '-12, 12' at line 1
    [query] => SELECT *, mod5_catalog.item_id as item_id, brands.name as brandname FROM mod5_catalog LEFT JOIN item_category ON mod5_catalog.item_id = item_category.item_id LEFT JOIN brands ON mod5_catalog.brand=brands.id WHERE item_category.category_id=363 ORDER BY articul ASC LIMIT -12, 12
    [context] => /var/www/erteks/data/www/erteks-nsk.ru/class/Site/Plugin/Catalog.php line 337
)