Here there,
When I click on "xxx Members" link to see the members in my organic group, I get the following error:
-----
warning: array_fill() [function.array-fill]: Number of elements must be positive in /var/www/cms05/includes/database.inc on line 241.
warning: implode() [function.implode]: Invalid arguments passed in /var/www/cms05/includes/database.inc on line 241.
warning: array_keys() [function.array-keys]: The first argument should be an array in /var/www/cms05/modules/user/user.module on line 502.
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 query: SELECT p.perm FROM role r INNER JOIN permission p ON p.rid = r.rid WHERE r.rid IN () in /var/www/cms05/modules/user/user.module on line 502.
-----------
Any advice is appreciated!
Thanks
kwseow
Comments
Comment #1
moshe weitzman commentedI think you are using a contrib module that misbehaves. Please disable everything but og and see if it persists.
Comment #2
Junro commentedI don't know if it could help, I've got this when I reimporter a language with l10n module.
So maybe it's nothing to do with OG.
# warning: array_fill() [function.array-fill]: Number of elements must be positive in /home/pariscin/www/includes/database.inc on line 241.
# warning: implode() [function.implode]: Invalid arguments passed in /home/pariscin/www/includes/database.inc on line 241.
# user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '))' at line 1 query: DELETE FROM locales_target WHERE language IN ('es') AND lid IN (SELECT lid FROM locales_source WHERE textgroup IN ()) in /home/pariscin/www/sites/all/modules/l10n_client/l10n_client.module on line 479.
Similar probles with others module:
see http://drupal.org/search/apachesolr_search/Number%20of%20elements%20must...
Comment #3
Grayside commentedThis issue is over a year old without followup. Marking as Cannot Reproduce and clearing the books. If this remains a genuine issue, please reopen and provide the necessary information.