Editing a group object (the home page object) gives "Invalid 0". All data is updated apart from any changes in Author Group.

Comments

edex13’s picture

i also having the same problem. is there any patch?

csc4’s picture

Same problem here.

Have you guys got og_subgroups installed as well? I'm not sure whether I've always had this problem or if it started after I installed og_subgroups?

csc4’s picture

Bump

Anyone got any ideas on this please?

moshe weitzman’s picture

Status: Active » Postponed (maintainer needs more info)

please disable all contrib modules and see if it still happens.

najibx’s picture

Solved for me.

disabling all modules is not an option for me, as there are to many. In my case, it is the OG_galleries. The problem solved after I finish configured it i.e create view for OG galleries (u can use the default og_galleries view).

og_subgroups has no effect on me. Complete disabled (delete in system table, etc) problem still exist. Maybe because u have no sub groups in that particular group, which causes this ...?

moshe weitzman’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

please reopen when soemone isolates the problem to just og.module. until then, i assume some other module is conflicting.

kpm’s picture

I think this is somehow related to the Sub Groups and to the menu settings on the OG edit page for a group. What I found is that if I created a group that did not have a subgroup, then edit it (or not even make a change, but click submit) then the "invalid 0" would appear at the top, though it didn't appear to have any impact on things. What did have an impact was if I created a menu for the groups, I added a menu item to the primarly links called 'studios' and then started adding groups as I created them as children to 'studios' menu item. But I noticed one of the menu items (depending on where or when they were created) would break the display of the page and show a couple extra links that should only display when the edit button was selected. So, after creating a new group, the top of the page, using the default theme, would list the following links:

Group Name   View   Edit   Outline   Galleries   Categories   E-mail   Team Table View
   Overview   Tree   Members

So that is how it would look if I did not use the menu settings on the OG Group creation page to create a menu in Primary Links > Studios > GroupNameOne.

If I did use the menu item on the OG Group creation page to create a menu in Primary Links > Studios > GroupNameTwo, then one of the groups would display with the following links across the top of the page:

Group Name
   View   Group Overview   Edit   Outline  Subgroups   Galleries   Members   Tree   Categories   E-mail   Members  Team Table View   

The menu items go right off the page, break the styles, and generally don't behave (in both latest versions of Firefox and IE). If I delete the menu item, then recreate it using the menu's admin page, it seems to work.

Not sure if these items are related or not, I am just experiencing both.
Thanks

LanceLight’s picture

I think I've figured out this error. It comes from the og_galleries module but I have no clue why it happens. Heres what I found with grep:

og_galleries/og_galleries.module: drupal_set_message(t('Invalid %vid', array('%vid' => $vid)), 'error');

Whenever I modify the edit node form when the type is a group, I get this error but it seems to affect nothing. To fix it, I simply commented it out in the og_galleries.module file since it doesnt seem to affect anything anyways.