Errors whenlogging on into ubercart.org

Posts: 4
Joined: 02/08/2008

Greetings Ubercart folks, great module for an awsome CMS.

Just letting you know about these errors that appeared after I logged on to ubercart.org using my drupal.org account user name and password:

* warning: array_keys() [function.array-keys]: The first argument should be an array in /var/www/vhosts/www.ubercart.org/modules/user/user.module on line 378.
* warning: array_fill() [function.array-fill]: Number of elements must be positive in /var/www/vhosts/www.ubercart.org/modules/user/user.module on line 379.
* warning: implode() [function.implode]: Bad arguments. in /var/www/vhosts/www.ubercart.org/modules/user/user.module on line 379.
* 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 /var/www/vhosts/www.ubercart.org/includes/database.mysql.inc on line 172.

Posts: 5367
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Aye, it's a Drupal issue that gets reported quite often. Eye-wink I tried to stay on top w/ fixing it in core, but it gets wiped every time we update. I always figured someone would have patched this...