First of all, thanks for this wonderful module. It is really cool and adds in nicely with "content profile" and "CCK field privacy". Everything works very well. The users get to decide what parts of their profile to share with all, none or friends, that is what I wanted all along for my site.

But now I noticed that an error comes up everytime a new user creates his account. It goes like this:

* warning: array_keys(): The first argument should be an array in /srv/www/vhosts/zooot.de/httpdocs/sites/all/modules/friendlist/friendlist_access/friendlist_access.module on line 292.

* warning: Invalid argument supplied for foreach() in /srv/www/vhosts/zooot.de/httpdocs/sites/all/modules/friendlist/friendlist_access/friendlist_access.module on line 292.

Now this is not critical - the user can still create his account. But it's not good to confuse new users with an error message when they want to register on my site.

Got any ideas on how to fix this? I rebuild permissions already - that did not help.

Thanks, Paul.

Comments

paul_constantine’s picture

Status: Active » Fixed

Found the solution myself.

Just disable and de-install "Friendlist Access" and the errors go away.

There must be a better solution but this one helps in a hurry.

Thanks anyway,

Paul.

mercmobily’s picture

Status: Fixed » Active

Hi,

reopening this, since it needs to get fixed!

Merc.

Charlie Sibbach’s picture

I can confirm that this is still a problem. I'm using content_profile, though- could that have anything to do with the problem?

mariusooms’s picture

I use content_profile myself as well and found no issues. You could try disabling content_profile and see if it still persists. I'm pretty sure the problem lies elsewhere.

Try uninstalling the access module and reinstalling it followed by rebuilding the permissions.

Marius

irakli’s picture

Assigned: Unassigned » irakli
Status: Active » Fixed

Fixed in CVS

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.