warning: array_merge() [function.array-merge]: Argument #2 is not an array

mr.andrey - August 15, 2007 - 17:09
Project:Site User List
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Hello,

After saving the fields in admin/settings/site_user_list/fields, I get the following errors:

    * warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/.puppy/fredburks/portal.transformationteam.net/sites/all/modules/site_user_list/site_user_list.module on line 719.
    * warning: implode() [function.implode]: Bad arguments. in /home/.puppy/fredburks/portal.transformationteam.net/sites/all/modules/site_user_list/site_user_list.module on line 726.
    * 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: CREATE OR REPLACE VIEW site_user_list_view AS SELECT DISTINCT u.uid as `@uid`, t_1.value as `@profile_first_name`, t_2.value as `@profile_last_name`, t_4.value as `@profile_headline`, t_3.value as `@profile_sign`, t_22.value as `@profile_birthdate`, t_5.value as `@profile_passions`, t_6.value as `@profile_skills`, t_7.value as `@profile_strengths`, t_8.value as `@profile_weaknesses`, t_9.value as `@profile_spiritual_interests`, t_10.value as `@profile_philosophy`, t_11.value as `@profile_teachers`, t_12.value as `@profile_inspirations`, t_13.value as `@profile_wild_fact`, t_14.value as `@profile_changed_my_life`, t_20.value as `@profile_core_challenge`, t_21.value as `@profile_life_intentions`, t_15.value as `@profile_cant_live_without`, t_16.value as `@profile_favorite_food`, t_18.value as `@profile_favorite_website`, t_19.value as `@profile_about_me`, u.name as `@name`, u.picture as `@picture` FROM users as u LEFT OUTER JOIN profile_values as t_1 on (u.uid = t_1.uid and t_1.fid = 1) LEFT OUTER JOIN profile_values as t_2 on (u.uid = t_2.uid and t_2.fid = 2) LEFT OUTER JOIN profile_values as t_4 on (u.uid = t_4.uid and t_4.fid = 4) LEFT OUTER JOIN profile_values as t_3 on (u.uid = t_3.uid and t_3.fid = 3) LEFT OUTER JOIN profile_values as t_22 on (u.uid = t_22.uid and t_22.fid = 22) LEFT OUTER JOIN profile_values as t_5 on (u.uid = t_5.uid and t_5.fid = 5) LEFT OUTER JOIN profile_values as t_6 on (u.uid = t_6.uid and t_6.fid = 6) LEFT OUTER JOIN profile_values as t_7 on (u.uid = t_7.uid and t_7.fid = 7) LEFT OUTER JOIN profile_values as t_8 on (u.uid = t_8.uid and t_8.fid = 8) LEFT OUTER JOIN profile_values as t_9 on (u.uid = t_9.uid and t_9.fid = 9) LEFT OUTER JOIN profile_values as t_10 on (u.uid = t_10.uid and t_10.fid = 10) LEFT OUTER JOIN profile_values as t_11 on (u.uid = t_11.uid and t_11.fid = 11) LEFT OUTER JOIN profile_values as t_12 on (u.uid = t_12.uid and t_12.fid = 12) LEFT OUTER JOIN profile_values as t_13 on (u.uid = t_13.uid and t_13.fid = 13) LEFT OUTER JOIN profile_values as t_14 on (u.uid = t_14.uid and t_14.fid = 14) LEFT OUTER JOIN profile_values as t_20 on (u.uid = t_20.uid and t_20.fid = 20) LEFT OUTER JOIN profile_values as t_21 on (u.uid = t_21.uid and t_21.fid = 21) LEFT OUTER JOIN profile_values as t_15 on (u.uid = t_15.uid and t_15.fid = 15) LEFT OUTER JOIN profile_values as t_16 on (u.uid = t_16.uid and t_16.fid = 16) LEFT OUTER JOIN profile_values as t_18 on (u.uid = t_18.uid and t_18.fid = 18) LEFT OUTER JOIN profile_values as t_19 on (u.uid = t_19.uid and t_19.fid = 19) WHERE in /home/.puppy/fredburks/portal.transformationteam.net/includes/database.mysql.inc on line 172.

Any ideas about what might be causing this?

Thanks,
Andrey.

#1

SteveR - September 25, 2007 - 21:12

Looks like this error is related to the Excluded_User module. Turn that module off and your site_user_list will work.

See also: http://drupal.org/node/174319

 
 

Drupal is a registered trademark of Dries Buytaert.