But then when I go to create an organic group, after creation I get this message:

warning: array_values() [function.array-values]: The argument should be an array in xxxxxx/public_html/modules/og_blueprints/og_blueprints.module on line 353.

The created group does not have any of the panels or layout specified in the blueprint.

Comments

sdboyer’s picture

Assigned: Unassigned » sdboyer

Yeah, this is the product of a small coding shortcut I took that fails to account for the possibility that, as you've said here, no panels or layouts are specified. I'll fix this for alpha6.

sejtraav’s picture

When can we expect alpha6 to be released?

sdboyer’s picture

Pretty much all my other drupal work is deprioritized at the moment in favor of a major project and getting Panels2 to RC1, so it's unlikely I'll get to this for a week or so, at least.

The fix is relatively simple, if you want to patch it in yourself for the moment (and post the patch here) - line 353 simply needs to be broken up so that a check is run to ensure that the db_fetch_array() has gotten an array from the query object before moving along to perform operations on it.

sejtraav’s picture

Are you able to guide me through making this patch?
I have very very little experience with this kind of stuff! :)

sejtraav’s picture

Just wondering if you've been able to patch this yet? If you can give me the steps on what needs to be done, I'll try to do it if you haven't yet.

analogious’s picture

Title: Setting up the blueprint, bundle and release works just fine » subscribing

subscribing.

analogious’s picture

Title: subscribing » Setting up the blueprint, bundle and release works just fine

Accidentally modified the topic. Setting it back.

sdboyer’s picture

I do believe this is now fixed in -dev. We'll find out, b/c I'm about to roll a release...

sdboyer’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

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