Closed (fixed)
Project:
OG Subscriber Management
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
11 Oct 2007 at 21:13 UTC
Updated:
26 Oct 2007 at 03:21 UTC
I get the following error when I click on Manage My Groups:
user warning: 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 o.uid = 1 ORDER BY o.nid ASC' at line 1 query: SELECT o.is_active, o.is_admin, o.nid FROM og_uid o WHERE o.nid IN () AND o.uid = 1 ORDER BY o.nid ASC in /home/jacobson/public_html/matt/includes/database.mysql.inc on line 172.
Comments
Comment #1
dwees commentedDo you have any Organic groups on your site yet?
I'll fix it so my form doesn't throw an error when a site has no Organic groups yet.
Dave
Comment #2
dwees commentedThis is not a duplicate error my bad. This error would show up either if a user had no groups that they were able to join (because no groups have either Open or Invite status) or there are no groups yet created for a site. The most recent version in cvs (wait for the packaging scripts to tar it for download) fixes this error.
Dave
Comment #3
jacobson commentedI do not have any groups with open joining capability, so that must have been the problem.
Comment #4
jacobson commentedThe bug is fixed in the latest CVS version. Thanks.
Comment #5
(not verified) commented