'Invalid argument' error in Create User and Preferences

sdiddy

Joined: 2002-11-25
Posts: 9
Posted: Mon, 2002-11-25 17:34

Warning: Invalid argument supplied for foreach() in /***/************/gallery/util.php on line 539

If I am logged in as admin I get the error above on both the Create User and Preferences page next to the 'user is an admin' option, followed by an empty select field.

Also, if I set a user as 'User is an Admin' to Yes and click 'Save', the change is not remembered and the user remains 'User is an Admin' No.

 
sdiddy

Joined: 2002-11-25
Posts: 9
Posted: Tue, 2002-11-26 10:03

has noone else had this problem?

*bump*

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2002-11-27 04:40

Ahem. yes you are having this problem in this other thread:
http://gallery.sf.net/forums.php?topic=1935

I'll lock this one. Let's discuss the problem in that thread instead.