Whenever anyone signs up for an account, the following error appears at the top of the page.

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

Any suggestion on how to fix this.

Comments

MedicSean37’s picture

I just starting getting the error too. I have logintobogan, auto assign role with some sort of patch that let it work with logintobogan

My error:

warning: array_keys() [function.array-keys]: The first argument should be an array in /home/dickson/www/www/modules/user/user.module on line 378. 

warning: array_fill() [function.array-fill]: Number of elements must be positive in /home/dickson/www/www/modules/user/user.module on line 379. 

warning: implode() [function.implode]: Invalid arguments passed in /home/dickson/www/www/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 /home/dickson/www/www/includes/database.mysql.inc on line 172. 
dpearcefl’s picture

Status: Active » Closed (won't fix)

Considering the time elapsed between now and the last comment plus the fact that D5 is no longer supported, I am closing this ticket.