Posted by kernphilip on June 13, 2008 at 5:21pm
Jump to:
| Project: | Organic Groups Blueprints |
| Version: | 5.x-1.0-alpha5 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | sdboyer |
| Status: | closed (fixed) |
Issue Summary
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
#1
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.
#2
When can we expect alpha6 to be released?
#3
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.
#4
Are you able to guide me through making this patch?
I have very very little experience with this kind of stuff! :)
#5
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.
#6
subscribing.
#7
Accidentally modified the topic. Setting it back.
#8
I do believe this is now fixed in -dev. We'll find out, b/c I'm about to roll a release...
#9
#10
Automatically closed -- issue fixed for two weeks with no activity.