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 ')' at line 11<br />Error No: 1064<br />
SELECT COUNT(DISTINCT p.product_id) total
FROM `oc_product` p
LEFT JOIN `oc_product_description` pd ON (p.product_id = pd.product_id)
LEFT JOIN `oc_product_to_store` p2s ON (p.product_id = p2s.product_id)
WHERE
p.status = '1'
AND p.date_available <= NOW()
AND p2s.store_id = '0'
AND pd.language_id = '2'
AND () in /www/wwwroot/ezur.de/system/library/db/mysqli.php:48
Stack trace:
#0 /www/wwwroot/ezur.de/storage/modification/system/library/db.php(55): DB\MySQLi->query()
#1 /www/wwwroot/ezur.de/system/library/journal3/opencart/model.php(48): DB->query()
#2 /www/wwwroot/ezur.de/catalog/model/journal3/filter.php(1179): Journal3\Opencart\Model->dbQuery()
#3 /www/wwwroot/ezur.de/catalog/model/journal3/filter.php(861): ModelJournal3Filter->dbQuery()
#4 /www/wwwroot/ezur.de/storag in /www/wwwroot/ezur.de/system/library/db/mysqli.php on line 48