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 'limit 0, 24' at line 1

select p.products_image, left(pd.products_description,90) as products_description_mini, length(pd.products_description) as products_description_length, m.manufacturers_id, p.products_id, pd.products_name, p.products_price, p.products_price_margin, p.products_tax_class_id, if(s.status, s.specials_new_products_price, p.products_price) as final_price, elt(p.products_tax_class_id, 21, 10, 4) as tax_rate from products p left join manufacturers m using(manufacturers_id) left join specials s on p.products_id = s.products_id join products_description pd on (p.products_id = pd.products_id and pd.language_id = '3') join products_to_categories p2c on (p.products_id = p2c.products_id and p2c.disabled_by_category = 0) where p.products_status = '1' and p.products_price > 0 and ((pd.products_name like '%aquilea%' or p.products_model like '%aquilea%' or m.manufacturers_name like '%aquilea%') and (pd.products_name like '%infusion%' or p.products_model like '%infusion%' or m.manufacturers_name like '%infusion%') ) and p2c.categories_id = '54' group by p.products_id order by limit 0, 24

[TEP STOP]