I got errors when reach to administer-->comments configure page.

* warning: array_keys() [function.array-keys]: The first argument should be an array in /htdocs/comm/modules/user.module on line 349.
* warning: implode() [function.implode]: Bad arguments. in /htdocs/comm/modules/user.module on line 349.
* 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 DISTINCT(p.perm) FROM role r INNER JOIN permission p ON p.rid = r.rid WHERE r.rid IN () in /htdocs/comm/includes/database.mysql.inc on line 120.

Why do i get this error while all isworking normaly?
How can i fixed this error?
Thanks so much

Comments

magico’s picture

Category: bug » support
Status: Active » Closed (fixed)

Nobody looked at it.

Chill35’s picture

Status: Closed (fixed) » Active

See this forum's topic : http://drupal.org/node/111668.

Rosamunda’s picture

Check out this post, I´ve got a very similar problem and there I´ve got the solution :-)

Rosamunda
Buenos Aires

scoutbaker’s picture

Status: Active » Closed (fixed)

Re-closing a year after 2 people pointed to the same forum solution.