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 oc_spares.prodsku = oc_product_description.product_id and oc_spares.statu...' at line 1<br />Error No: 1064<br />SELECT * from oc_spares, oc_product_description where oc_spares.brand = and oc_spares.prodsku = oc_product_description.product_id and oc_spares.status = 0 group by oc_spares.prodsku order by oc_product_description.name in /var/www/vhosts/molifthoistsandparts.co.uk/httpdocs/system/library/db/mysqli.php:48
Stack trace:
#0 /var/www/vhosts/molifthoistsandparts.co.uk/storage/modification/system/library/db.php(55): DB\MySQLi->query()
#1 /var/www/vhosts/molifthoistsandparts.co.uk/httpdocs/catalog/model/catalog/spareparts.php(32): DB->query()
#2 /var/www/vhosts/molifthoistsandparts.co.uk/storage/modification/system/engine/loader.php(256): ModelCatalogSpareparts->getHoists()
#3 /var/www/vhosts/molifthoistsandparts.co.uk/httpdocs/system/engin in /var/www/vhosts/molifthoistsandparts.co.uk/httpdocs/system/library/db/mysqli.php on line 48