Hey all ... I was testing this module out in a development site using OG 7.x-2.o-beta2. I created a group type of "group" and a content type of "blog". I then enabled og_extras 7.x-1.1 and added the group details block and the node create links block to my sidebar. After creating a group I received the web error in the attached screenshot and am unable to view my groups or my content types. Has anyone encountered this?

CommentFileSizeAuthor
Screen Shot 2012-10-29 at 9.12.53 PM.png83.91 KBtjhart87

Comments

Mo Omar’s picture

I did. The problem is in the group content block. I actually uninstalled and reinstalled drupal 7.22, OG 7.x-2.2 and og_extras 7.x-1.1 and the problem remained. . .

Here is my error:

Strict warning: Only variables should be passed by reference in og_extras_subscribe() (line 52 of xxx\sites\all\modules\og_extras\og_extras.module).
Notice: Undefined variable: role_rids in og_extras_preprocess_og_extras_group_info() (line 47 of xxx\sites\all\modules\og_extras\theme\theme.inc).
Warning: Invalid argument supplied for foreach() in DatabaseCondition->compile() (line 1854 of xxx\includes\database\query.inc).
PDOException: SQLSTATE[42000]: Syntax error or access violation: 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 '))' at line 1: SELECT og_users_roles.uid AS uid FROM {og_users_roles} og_users_roles WHERE (gid = :db_condition_placeholder_0) AND (rid IN ()) ; Array ( [:db_condition_placeholder_0] => 5 ) in og_extras_get_users_by_roles() (line 77 of xxx\sites\all\modules\og_extras\og_extras.module).

Mo Omar’s picture

I forgot to mentioned that I tried D7.21 and the problem still there.

tjhart87’s picture

Status: Active » Closed (won't fix)

No longer needed. Used content create block with panels and OG integration