A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OR CatID = ) AND CatID <> 196 AND IsStore = 1 ORDER BY `CategoryName` ASC' at line 4

SELECT `CatID`, `CategoryName`, `URL` FROM (`Category`) WHERE `Active` = 1 AND (ParentCatID = OR CatID = ) AND CatID <> 196 AND IsStore = 1 ORDER BY `CategoryName` ASC

Filename: /var/www/websites/superdiscountshop.com/public_html/models/store_model.php

Line Number: 92