SQL Error: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 '-10,10' at line 39 at /home/sheenwod/sheenwood.com.ua/www/core/modules/mod_catalog_shop.php line 348
Array
(
    [code] => 1064
    [message] => 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 '-10,10' at line 39
    [query] => 
      SELECT
        p.ProductID,
        p.Name,
        p.Article,
        p.Description,
        p.Announce,
        p.CategoryID,
        p.Price,
        p.show_new,
        p.DateAdded,
        p.order_total,
        p.top_sales,
        p.MetaTitle,
        p.MetaKeywords,
        p.MetaDescription,
        p.Sort,
        p.Status,
        CONCAT(it.SubDir, it.FileName) AS ProductImageThumbs,
        CONCAT(ib.SubDir, ib.FileName) AS ProductImageBig
      FROM
        `mod_catalog_products` AS p
      
      LEFT JOIN `sys_com_images_file` AS it
        ON it.GroupID = p.GroupImageID
           AND it.ImageType = 'small'
      LEFT JOIN `sys_com_images_file` AS ib
        ON ib.GroupID = p.GroupImageID
           AND ib.ImageType = 'big'
      WHERE
        1=1
         AND p.`CategoryID` = 7 
         AND p.Status = '1' 
        
        
        
        
      GROUP BY p.ProductID
      ORDER BY `Sort` ASC
     LIMIT -10,10
    [context] => /home/sheenwod/sheenwood.com.ua/www/core/modules/mod_catalog_shop.php line 348
)