Fatal error: Uncaught exception 'Exception' with message '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 ')' at line 1<br />Error No: 1064<br />SELECT COUNT(DISTINCT `p`.`product_id`) AS `total` FROM `oc_product_to_category` `p2c` LEFT JOIN `oc_product` `p` ON (`p2c`.`product_id` = `p`.`product_id`) LEFT JOIN `oc_product_option_value` `pfo15` ON (`pfo15`.`product_id` = `p`.`product_id` AND `pfo15`.`option_id` = '15') LEFT JOIN `oc_product_to_store` `p2s` ON (`p`.`product_id` = `p2s`.`product_id`) WHERE `p`.`status` = '1' AND `p`.`date_available` <= '2026-10-17 18:30:00' AND `p2s`.`store_id` = '0' AND `p2c`.`category_id` = 59 AND ()' in /home/astanadidac/public_html/mattex.kz/system/library/db/mysqli.php:40 Stack trace: #0 /home/astanadidac/public_html/mattex.kz/system/library/db.php(16): DB\MySQLi->query('SELECT COUNT(DI...', Array) #1 /home/astanadidac/public_html/mattex.kz/system/library/dream_filter/catalog_model.php(0): DB- in /home/astanadidac/public_html/mattex.kz/system/library/db/mysqli.php on line 40