I keep getting this error when new members sign up. How do I fix this?
Database error in
Query:
SELECT COUNT(DISTINCT IF( `Profiles`.`Couple`=0, `Profiles`.`ID`, IF( `Profiles`.`Couple`>`Profiles`.`ID`, `Profiles`.`ID`, `Profiles`.`Couple` ) )) AS "Cnt" FROM `Profiles` WHERE ( FIND_IN_SET( '1', `Profiles`.`TypeOfAccount` ) OR FIND_IN_SET( '6', `Profiles`.`TypeOfAccount` ) OR FIND_IN_SET( '7', `Profiles`.`TypeOfAccount` ) ) AND ( ) AND FIND_IN_SET( `Profiles`.`Country`, 'US' ) AND `Profiles`.`Sex` = 'female' AND `Profiles`.`Status` = 'Active' AND (`Profiles`.`Couple`='0' OR `Profiles`.`Couple`>`Profiles`.`ID`)
Mysql error: 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 ') AND FIND_IN_SET( `Profiles`.`Country`, 'US' ) AND `Profiles`.`Sex` = 'female' ' at line 1