Fatal error: Uncaught Exception: 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 'and p2c.category_id = c.category_id and p2c.product_id = p.product_id' at line 1<br />Error No: 1064<br />SELECT MIN(p.price) as min_price FROM oc_category c, oc_product_to_category p2c, oc_product p WHERE c.category_id = and p2c.category_id = c.category_id and p2c.product_id = p.product_id in /var/www/web/sites/kolesamira.ru/system/library/db/mysqli.php:40 Stack trace: #0 /var/www/web/sites/kolesamira.ru/system/library/db.php(16): DB\MySQLi->query('SELECT MIN(p.pr...', Array) #1 /var/www/web/sites/kolesamira.ru/catalog/model/catalog/category.php(139): DB->query('SELECT MIN(p.pr...') #2 /var/www/web/sites/kolesamira.ru/system/storage/modification/system/engine/loader.php(178): ModelCatalogCategory->getCategoryMinPrice(NULL) #3 /var/www/web/sites/kolesamira.ru/system/engine/proxy.php(25): Loader->{closure}(Array, Array) #4 /var/www/web/sites/koles in /var/www/web/sites/kolesamira.ru/system/library/db/mysqli.php on line 40