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.
buddylist doesn't like the new drupal version.
* warning: array_keys(): The first argument should be an array in /modules/user.module on line 339.
* warning: implode(): Bad arguments. in /modules/user.module on line 339.
* 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 /includes/database.mysql.inc on line 120.
Comments
Comment #1
robertDouglass CreditAttribution: robertDouglass commentedPlease indicate what you do to get this error. Can anybody reproduce? How?
Comment #2
loothi CreditAttribution: loothi commentedComment #3
Heine CreditAttribution: Heine commentedReassigning a title, component, category, version and title.
Comment #4
quicksketchLooking into this report we can deduce the following information:
The 'new drupal version' metioned is probably DRUPAL-4-7-0-BETA-6. Which was released March 13, 2006. The line that the user refers to is the db_query called inside of the user_access function. The exact change that must've caused this issue actually occurred much earlier, back in January. The only change this line of code has undergone since then can be seen here:
http://cvs.drupal.org/viewcvs/drupal/drupal/modules/user.module?r1=1.564...
Check the comparision between lines 335 and 337.
Buddylist could only cause this problem in two scenarios:
Since buddylist never makes such a call or actually modifies the $user variable, we can conclude that buddylist is not the source of the problem.
Comment #5
kus CreditAttribution: kus commentedyou're totaly right. closing "the bug".