In the og module setting button i clicked the Access Control button , Enabled it just wanted to see what it does actually, and now i disabled it

It has started giving me following error , do you have any idea for this

Thanks

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 n.status = 1' at line 1 query: SELECT COUNT(*) FROM node n INNER JOIN og og ON n.nid = og.nid WHERE og.directory=1 AND n.type IN () AND n.status = 1 in /var/www/html/gzscet2/includes/database.mysql.inc on line 120.

Comments

pwolanin’s picture

looks like a bug in og- the module should check whether there are any types before using the syntax "n.type in ()". It's probably the empty parens that's causing the error.

You can file a bug report here: http://drupal.org/project/issues/og?categories=bug

using the submit link at the top of the page. However, you may want to search first, to make sure it's not already in the queue.

---
Work: BioRAFT