ERROR

Couldn't query this query string:SELECT SQL_CALC_FOUND_ROWS P.*, C.category_name, C.category_name_rewrite FROM products AS P LEFT JOIN categories AS C USING (category_id) WHERE P.product_status = 1 AND P.category_id = AND P.product_id <> ORDER BY product_id desc LIMIT 0, 16
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 P.product_id <> ORDER BY product_id desc LIMIT 0, 16' at line 5