Hi all,

When I go in "admin/structure/spaces/list/custom_sapce/edit" I get this warning :

Warning : array_intersect_key(): Argument #1 is not an array in _spaces_og_form_spaces_preset_editor_alter() (line 232 sites/all/modules/spaces/spaces_og/spaces_og.pages.inc).

Does anybody has an idea?

Thank you all!

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jramby’s picture

Errors and warning in spaces OG

Does anyone has the same issue? can it be reproduced? or am i missing something?

Is it normal that in OG settings section I have an empty fieldset ?

Empty OG settings

Netrics’s picture

No it is not just you. I get the same exact issue. It only happens when I go into the space panel (admin/structure/spaces) and edit one of the space presents. This is happening all on a clean install of D7, with just Spaces and OG enabled (and all required modules of course).

alexku’s picture

Commenting out line 232 in spaces_og.pages.inc removes the error and form with overrides shows up, but it is certainly just a temporary workaround...

jramby’s picture

Hi,

What can be the impact of these errors, the problem is that I saw in Drupal 6 that spaces works very well, and works a ltittle bit differently than in drupal 7, that's a bit normal, but I don't know how should it work in drupal 7. If I compare the features in D6 and D7, I see that fetures can't be saved per group like in D6, my first impression is that spaces for D7 doesn't work... Did I missed something?

My question is, what can I do to make it work?

I want to have different homepage for each group, even different theme color like in Open Atrium project.

Thank you all

jramby’s picture

I just want to show my error list to show the difference in my case...

Error list

using Drupal 7.14, Organic groups 7.x-1.3, and spaces 7.x-3.0-alpha1

PS : I already commented spaces_og.pages.inc:232

zikaelismik’s picture

Any news about this? i'm trying to use the combination of spaces and og to build a microsite platform but it seems to me that spaces and latest og (7.2) integration is definetely broken.
Is there any acceptable solution, patch or even downgrading to the og 7.1 version, that might actually make it work?
Commenting the line 232 isn't a solution anyway, since i'm sure the $group_form array must be initialized and filled correctly to not only access the edit page without errors (those would be shown anyway, see the screenshot by jramby), but to actually make it work.