A Database Error Occurred

Error Number: 1054

Unknown column 'categories' in 'where clause'

SELECT active_substance_product.id as asp_id, active_substance.id, active_substance.tag_name FROM product LEFT JOIN active_substance_product ON active_substance_product.product_id = product.id LEFT JOIN active_substance ON active_substance_product.active_substance_id = active_substance.id WHERE product.id = categories-list-shop.html

Filename: models/Product.php

Line Number: 107