Closed (duplicate)
Project:
References
Version:
7.x-2.x-dev
Component:
Code: user_reference
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Apr 2012 at 19:44 UTC
Updated:
27 Aug 2015 at 16:19 UTC
Jump to comment: Most recent
Comments
Comment #1
jbeall commentedI am encountering this as well, in 7.x-2.0.
Based on just a few minutes of testing, this seemed to fix it:
http://drupal.org/node/1462976#comment-5866428
We'll see how this fix holds up.
-Josh
Comment #2
jfha73 commentedThat worked for me.
Comment #3
hlopes commentedI think you just need to edit the field and save it. ( something missing in the migrate hooks? )
Something else is wrong earlier on the field configuration.
The problem is that one of the referenced user status is blocked ( 0 ), which means the option "blocked" never gets saved.
The array_filter needs to be rethinked, i guess...
Can be easily avoided by using a view to list the referenceable users.
Comment #4
jfha73 commentedSorry to bother you again with this, but I tried to do this again and it's either I don't remember what I did before or it's just not working for me this time, so let me ask you, can you release a new dev version with the fix included, or a patch for it?
Thanks.
Comment #5
jfha73 commentedNever mind, I figured it out again, but seriously a new dev file wouldn't hurt
Comment #6
firfin commentedSame problem. But easily solved like HLopes wrote in #3
Just save the field configuration again. Problem solved.
You need to do this for every user reference field.
Comment #7
rfayDuplicate of #1462976: Warning: array_filter() [function.array-filter]: The first argument should be an array - Patch in #1462976-04: Warning: array_filter() [function.array-filter]: The first argument should be an array