A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND pct_category_type = 'categ'' at line 3

SELECT pct_id_product_category AS ID1 FROM product_categories_relationships WHERE pct_id_product = AND pct_category_type = 'categ'

Filename: /home/x17patur/public_html/modules/cart/models/cart_model.php

Line Number: 300