Hi, i recently installed advanced profile kit on my site and want to use the Site user list to search my users however whe i view the site user list i get the following error

warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/vol7/byethost15.com/b15_6867761/htdocs/drupal/sites/all/modules/site_user_list/site_user_list.module on line 849.

i checked the source code and line 849 says

if (in_array($r['field_identifier'], $profile_fields)) {

i tried but cant fix the issue because im relatively new to drupal and can't figure out where the problem lies

any help would be greatly appreciated thanks

Comments

pooneil’s picture

Hi,

It could be that you do not have any "profile" fields set up. I just committed a fix that should prevent an error in this case. However, I'm not sure if this will fix your problem. It could take up to a few hours to release a version with this fix. I'll let you know when it's available.

Regards,
Anthony

pukku’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)