Error

Debug Report
Message: SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'product_id' in where clause is ambiguous, query was: SELECT category_id As id FROM productcats pc LEFT JOIN products p ON p.product_id = pc.product_id WHERE product_id = '' LIMIT 1
Exception Type: Zend_Db_Statement_Exception
Code: 23000
Filename: Pdo.php
Line: 235
Path: /var/www/workplacelearningcentre.co.uk/webapp/vendor/zendframework/zendframework1/library/Zend/Db/Statement
Trace:
# 0
Filename: Statement.php  
Class: Zend_Db_Statement_Pdo  
Function: _execute  
Type: ->  
Args:  
Line: 303  
Path: /var/www/workplacelearningcentre.co.uk/webapp/vendor/zendframework/zendframework1/library/Zend/Db  

# 1
Filename: Abstract.php  
Class: Zend_Db_Statement  
Function: execute  
Type: ->  
Args:  
Line: 480  
Path: /var/www/workplacelearningcentre.co.uk/webapp/vendor/zendframework/zendframework1/library/Zend/Db/Adapter  

# 2
Filename: Abstract.php  
Class: Zend_Db_Adapter_Abstract  
Function: query  
Type: ->  
Args:  
Line: 238  
Path: /var/www/workplacelearningcentre.co.uk/webapp/vendor/zendframework/zendframework1/library/Zend/Db/Adapter/Pdo  

# 3
Filename: Abstract.php  
Class: Zend_Db_Adapter_Pdo_Abstract  
Function: query  
Type: ->  
Args:  
Line: 737  
Path: /var/www/workplacelearningcentre.co.uk/webapp/vendor/zendframework/zendframework1/library/Zend/Db/Adapter  

# 4
Filename: Core.php  
Class: Zend_Db_Adapter_Abstract  
Function: fetchAll  
Type: ->  
Args:  
Line: 1574  
Path: /var/www/workplacelearningcentre.co.uk/webapp/library/Ecom  

# 5
Filename: Frontend.php  
Class: Ecom_Core  
Function: getProductDefaultCategoryId  
Type: ->  
Args:  
Line: 88  
Path: /var/www/workplacelearningcentre.co.uk/webapp/library/Ecom  

# 6
Filename: Frontend.php  
Class: Ecom_Frontend  
Function: fetchNavigation  
Type: ->  
Args:  
Line: 43  
Path: /var/www/workplacelearningcentre.co.uk/webapp/library/Ecom  

# 7
Filename: Controller.php  
Class: Ecom_Frontend  
Function: preDispatch  
Type: ->  
Args:  
Line: 264  
Path: /var/www/workplacelearningcentre.co.uk/webapp/library/Jacket  

# 8
Filename: Abstract.php  
Class: Jacket_Controller  
Function: _preDispatch  
Type: ->  
Args:  
Line: 173  
Path: /var/www/workplacelearningcentre.co.uk/webapp/library/Jacket/Dispatcher  

# 9
Filename: Front.php  
Class: Jacket_Dispatcher_Abstract  
Function: dispatch  
Type: ->  
Args:  
Line: 307  
Path: /var/www/workplacelearningcentre.co.uk/webapp/library/Jacket  

# 10
Filename: Front.php  
Class: Jacket_Front  
Function: dispatch  
Type: ->  
Args:  
Line: 255  
Path: /var/www/workplacelearningcentre.co.uk/webapp/library/Jacket  

# 11
Filename: bootstrap.php  
Class: Jacket_Front  
Function: run  
Type: ::  
Args:  
Line: 68  
Path: /var/www/workplacelearningcentre.co.uk/webapp  

# 12
Filename: index.php  
Class:  
Function: require_once  
Type:  
Args:  
Line: 1  
Path: /var/www/workplacelearningcentre.co.uk/public