Fatal error: Uncaught Exception: Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND main_category = 1 LIMIT 1)' at line 1<br />Error No: 1064<br />SELECT * FROM cp_category c INNER JOIN cp_category_description cd ON c.category_id = cd.category_id WHERE cd.language_id = 2 AND c.category_id = (SELECT category_id FROM cp_product_to_category WHERE product_id = 02420/ AND main_category = 1 LIMIT 1) in /var/www/html/system/library/db/mysqli.php:40 Stack trace: #0 /var/www/html/system/library/db.php(16): DB\MySQLi->query('SELECT * FROM c...', Array) #1 /var/www/html/catalog/model/catalog/product.php(502): DB->query('SELECT * FROM c...') #2 /var/www/html/system/engine/loader.php(183): ModelCatalogProduct->getMainCategory('02420/') #3 /var/www/html/system/engine/proxy.php(13): Loader->{closure}(Array) #4 /var/www/html/catalog/controller/product/product.php(28): Proxy->__call('getMainCategory', Array) #5 /var/www/html/system/engine/action in /var/www/html/system/library/db/mysqli.php on line 40