Hello. Excelent Module.

I'm using the following modules:

Organic groups 6.x-1.0-rc6
Organic groups actions 6.x-1.0-rc6
Organic groups Views integration 6.x-1.0-rc6
Book 6.4

And I have the following issues:

If a create a new group node like a child page I have the following messages:

warning: array_values() [function.array-values]: The argument should be an array in C:\wamp\www\example\sites\all\modules\og_subgroups\og_subgroups.module on line 256.

warning: array_values() [function.array-values]: The argument should be an array in C:\wamp\www\example\sites\all\modules\og_subgroups\og_subgroups.module on line 256.

I installed the og_subgroups.module after having already created some groups.
When I edit one of these groups and select "Create New book" or selecting a parent I have the following message:

"warning: in_array() [function.in-array]: Wrong datatype for second argument in C:\wamp\www\example\sites\all\modules\og_subgroups\og_subgroups.module on line 137"

It seems that is running OK, but I'm not sure. Any idea?

Comments

ingacosta’s picture

I forgot to say that I also have installed the OG_subgroups.module 6.x-0.x-dev, of course.

Best regards
Hernán

amitaibu’s picture

Status: Active » Postponed (maintainer needs more info)

I am not getting these errors, can you try to reproduce the steps needed to get the error - try to write as little steps needed, not starting from turning on the computer ;)

amitaibu’s picture

#315263: Wrong datatype for second argument ... in line 137 is fixed, so only the error on line 256 left.

ingacosta’s picture

Thank you Amitaibu for your fast reply! I've just reinstalled the module and it works ok. Maybe an error installing the first time.

I have no problems for the moment. I continue testing.

Best regards
Hernán

amitaibu’s picture

maybe try changing the og_subgrops setting, allowing content propagation and then re-try to create groups nodes/ groups posts - maybe the bug is hidden somewhere there.

ingacosta’s picture

I remember that when I installed the module the first time I had a php (or mysql?) timeout error. So I tried again. But it seems it wasn't the problem.

Yes. I have an error when changing og_subgroups settings and creating a new group. I used the following settings:

Content Propagation: I selected Parents
Users Propagation: Children
Admins propagation: Propagate admin rights and membership as well
Rights demotion: both selected or unselected.

I create a group with Membership Requests Open, non private group

warning: in_array() [function.in-array]: Wrong datatype for second argument in C:\wamp\www\example\sites\all\modules\og_subgroups\og_subgroups.module on line 137.

Edited: Excuse me. I patched the module and I don't have the warning message any more.

Regards
Hernàn

ezra-g’s picture

Marking as fixed since it sounds like ingacosta is not able to reproduce anymore. Please re-open if you experience this issue again.

ezra-g’s picture

Status: Postponed (maintainer needs more info) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.