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 'янистий%' OR LCASE(`p`.`model`) = 'гібіскус трав\'янис...' at line 1
Error No: 1064
SELECT COUNT(DISTINCT `p`.`product_id`) AS total FROM `oc_product` `p` LEFT JOIN `oc_product_description` `pd` ON (`p`.`product_id` = `pd`.`product_id`) WHERE `pd`.`language_id` = '2' AND `p`.`master_id` > 0 AND `p`.`price` > 0 AND ( (`pd`.`name` LIKE '%Гібіскус%' OR `pd`.`name` LIKE '%трав\'янистий%') OR `pd`.`tag` LIKE '%Гібіскус трав'янистий%' OR LCASE(`p`.`model`) = 'гібіскус трав\'янистий' OR LCASE(`p`.`sku`) = 'гібіскус трав\'янистий' OR LCASE(`p`.`upc`) = 'гібіскус трав\'янистий' OR LCASE(`p`.`ean`) = 'гібіскус трав\'янистий' OR LCASE(`p`.`jan`) = 'гібіскус трав\'янистий' OR LCASE(`p`.`isbn`) = 'гібіскус трав\'янистий' OR LCASE(`p`.`mpn`) = 'гібіскус трав\'янистий'): in /home/u707186820/domains/sadua.shop/public_html/system/library/db/mysqli.php on line 78