Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
sdboyer CreditAttribution: sdboyer commentedYeah, 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.
Comment #2
sejtraav CreditAttribution: sejtraav commentedWhen can we expect alpha6 to be released?
Comment #3
sdboyer CreditAttribution: sdboyer commentedPretty 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.
Comment #4
sejtraav CreditAttribution: sejtraav commentedAre you able to guide me through making this patch?
I have very very little experience with this kind of stuff! :)
Comment #5
sejtraav CreditAttribution: sejtraav commentedJust 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.
Comment #6
analogious CreditAttribution: analogious commentedsubscribing.
Comment #7
analogious CreditAttribution: analogious commentedAccidentally modified the topic. Setting it back.
Comment #8
sdboyer CreditAttribution: sdboyer commentedI do believe this is now fixed in -dev. We'll find out, b/c I'm about to roll a release...
Comment #9
sdboyer CreditAttribution: sdboyer commentedComment #10
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.