Fatal error: Uncaught Exception: Error: Column 'bolt_id' in where clause is ambiguous<br/>Error No: 1052<br/>SELECT count(product_id) as sum FROM microshop.ms_raktar JOIN microshop.`ms_status_history` `sh` ON `r`.`vonalkod_sn` = `sh`.`vonalkod_sn` AND `STATUS_ID` = 1 AND `POST_TO` IS NULL WHERE bolt_id = 9 AND product_id = '999490' AND WS_ACTIVE_FL = 1 in /var/www/mxguards.com/public_html/system/library/db/mysqli.php:109
Stack trace:
#0 /var/www/mxguards.com/public_html/system/library/db.php(48): DB\MySQLi->query()
#1 /var/www/mxguards.com/public_html/catalog/model/catalog/product.php(118): DB->query()
#2 /var/www/mxguards.com/public_html/catalog/controller/product/product.php(559): ModelCatalogProduct->checkProductIsInStock()
#3 /var/www/mxguards.com/public_html/system/engine/action.php(65): ControllerProductProduct->index()
#4 /var/www/mxguards.com/public_html/system/engine/front.php(34): Action->execute()
#5 /var/www/mxguards.com/public_html/system/engine/front.php(29): Front->execute()
#6 /var/www/mxguards.com/public_html/index.php(403): Front->dispatch()
#7 {main}
thrown in /var/www/mxguards.com/public_html/system/library/db/mysqli.php on line 109