MySQL Error!
MySQL error in file: /index.php at line 529
Error Number: 1064
The Error returned was:
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 'not detected' at line 1
SQL query:

SELECT category, PLandO, Count(PLandO) AS CountPLandO FROM `partner_post` GROUP BY PLandO, category HAVING CountPLandO>0 AND category=not detected