Fatal error: Uncaught Exception: Error: Column 'vendor_id' in where clause is ambiguous<br />Error No: 1052<br />SELECT COUNT(DISTINCT p.product_id) AS 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) LEFT JOIN oc_vendor_to_product v2p ON (p.product_id = v2p.product_id) WHERE pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '5' and vendor_id='1' in /var/www/vhosts/vandamvakkleding.nl/httpdocs/storage/modification/system/library/db/mysqli.php:40
Stack trace:
#0 /var/www/vhosts/vandamvakkleding.nl/httpdocs/storage/modification/system/library/db.php(58): DB\MySQLi->query('SELECT COUNT(DI...')
#1 /var/www/vhosts/vandamvakkleding.nl/httpdocs/catalog/model/vendor/store.php(298): DB->query('SELECT COUNT(DI...')
#2 /var/www/vhosts/vandamvakkleding.nl/httpdocs/storage/modification/system/engine/loader.php(270): ModelVendorStore->getTotalProducts(Array)
#3 /var/www/vhosts/vandamv in /var/www/vhosts/vandamvakkleding.nl/httpdocs/storage/modification/system/library/db/mysqli.php on line 40