There is probably a better way to handle this
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | groupadmin-931636.patch | 1.9 KB | mikeytown2 |
| #1 | groupadmin-931636.patch | 1.85 KB | mikeytown2 |
There is probably a better way to handle this
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | groupadmin-931636.patch | 1.9 KB | mikeytown2 |
| #1 | groupadmin-931636.patch | 1.85 KB | mikeytown2 |
Comments
Comment #1
mikeytown2 commentedalso contains a small whitespace fix
Comment #2
mikeytown2 commentedone more fix
Comment #3
andy inman commentedThanks for the info and patch, but I think the real bug is elsewhere as "Configuration per group type" was a feature that was never completed and should be disabled completely. Could you tell me steps to reproduce? At what point does this error message appear?
Comment #4
mikeytown2 commentedRelevant info:
Presssflow 6.19
Error happens on cron
Comment #5
andy inman commentedOk, I've found the underlying problem - some code for an experimental feature that should have been disabled but got left in...
File: groupadmin.menu.inc.php
Lines: 27-43
So, put /* */ around that section, and the error message will go away. Your patch will work too, obviously - what is happening is that _groupadmin_settings() is being called with an invalid $key parameter, but that in itself is an error/bug so probably shouldn't just be ignored (as with your patch.)
Thanks for the info.
Comment #6
andy inman commentedFound that I'd already fixed this in dev - will be in version 2.2.
Comment #7
AntiNSA commentedI have updated and cleared cache.. I
have this
Its still giving me the same error even after clearing cache?
Comment #8
andy inman commentedSee http://drupal.org/node/934164#comment-3542490 - please don't reopen the issue here, either there is a separate bug in 2.2beta1 (which seems very unlikely from all the checks I've done) or you are actually running 2.1 in which case it's a configuration problem with your modules directories or something like that.