Dotaz: SELECT SQL_CALC_FOUND_ROWS P.id, PL.name, PL.uri, P.vat, P.category_id, HL.uri AS category_uri, P.status_2, P.status_3, P.status_4, P.status_9, P.status_10, P.size, PL.description, PL.description2, P.total_stock_quantity FROM product P INNER JOIN product_lang PL ON PL.product_id = P.id INNER JOIN htree H ON H.id = P.category_id INNER JOIN htree_lang HL ON HL.category_id = H.id LEFT JOIN product_multicategory PM ON P.id = PM.product_id WHERE P.category_id NOT IN (0) AND H.active = 1 AND P.active = 1 AND P.deleted = 0 AND PL.forbidden = 0 AND PL.shop_id = 3 AND HL.forbidden = 0 AND HL.shop_id = 3 AND P.id IN (19001,19002,19003,19004,19005,19006,19007,19008,19009,19010,19011,19012,22426,22427,22428,22429,22430,22431,22432,22433,22434,22435,22437,22441,22538,22539,22540,22541,22542,22543,22544,22545,22546,22547,22548,22549,27799,27800,27803,27804,27806,27807,27810) GROUP BY P.id ORDER BY P.status_9, P.total_stock_quantity DESC LIMIT -48, 24
Chyba: 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 '-48, 24' at line 13