Fatal error: Uncaught Exception: Error: Unknown column '–' in 'where clause'<br />Error No: 1054<br />SELECT DISTINCT pw.product_id, pw.text, pg.text, ph.text FROM `oc_product_attribute` pw
LEFT JOIN `oc_product_attribute` pg ON (pw.product_id = pg.product_id)
LEFT JOIN `oc_product_attribute` ph ON (pw.product_id = ph.product_id)
WHERE pw.attribute_id = 14 AND pw.text = – AND pg.attribute_id = 13 AND pg.text = 405 AND ph.attribute_id = 12 AND ph.text = 790 ORDER BY RAND() LIMIT 5; in /var/www/lamelio/lamelio.com.ua/system/library/db/mysqli.php:40
Stack trace:
#0 /var/www/lamelio/lamelio.com.ua/system/library/db.php(45): DB\MySQLi->query('SELECT DISTINCT...')
#1 /var/www/lamelio/storage/modification/catalog/model/catalog/product.php(846): DB->query('SELECT DISTINCT...')
#2 /var/www/lamelio/storage/modification/system/engine/loader.php(248): ModelCatalogProduct->getSuchasProductId(Array)
#3 /var/www/lamelio/lamelio.com.ua/system/engine/proxy.php(47): Loader->{closure}(Array, Array)
#4 /var/www/lamelio/storage/modification/catalog/controller/extension/module/suchas.php(18): Proxy->__call('getSuchasProduc...', Array)
#5 /var/www/lamelio/storage/modification/system/engine/action.php(79): ControllerExtensionModuleSuchas->index(Array)
#6 /var/www/lamelio/storage/modification/system/engine/loader.php(48): Action->execute(Object(Registry), Array)
#7 /var/www/lamelio/storage/modification/catalog/controller/common/content_bottom.php(76): Loader->controller('extension/modul...')
#8 /var/www/lamelio/storage/modification/system/engine/action.php(79): ControllerCommonContentBottom->index(Array)
#9 /var/www/lamelio/storage/modification/system/engine/loader.php(48): Action->execute(Object(Registry), Array)
#10 /var/www/lamelio/storage/modification/catalog/controller/product/product.php(1159): Loader->controller('common/content_...')
#11 /var/www/lamelio/storage/modification/system/engine/action.php(79): ControllerProductProduct->index()
#12 /var/www/lamelio/lamelio.com.ua/catalog/controller/startup/router.php(25): Action->ex in /var/www/lamelio/lamelio.com.ua/system/library/db/mysqli.php on line 40