"Load a list of entity objects from a VBO View" rules action not working I am trying to use the Rules action called "Load a list of entity objects from a VBO View." I had it working before, but I've since refreshed my DB from prod and I can't remember what my views looked like. I stripped the setup down to its most basic, vanilla configuration and I still can't get it to work.

Here's what I've done:

I created a view of Users. No page; no blocks; just a master display of users with no filter. Two fields: the user's name and the Bulk Operations checkbox (no actions; everything default).

I then created a rule. The event is just "view content" so I can iterate quickly. For the action, I selected "Load a list of entity objects from a VBO View." When I view a node (which triggers the rule), an error message pops up in the log that says, "Unable to get a data value. Error: Invalid data value given. Be sure it matches the required data type and format."

The reason is that the function views_bulk_operations_action_load_list() is trying to make an entity_metadata_wrapper out of FALSE. The exact line is views_bulk_operations.rules.inc:176:

$entities[] = entity_metadata_wrapper($entity_type, $vbo-&gt;get_value($result)); // $entity_type == 'user'


$vbo-&gt;get_value($result) ends up FALSE because $vbo-&gt;entities is NULL. Where are the entities? Did I miss something obvious when I set up my view?
You want to pass the userid as a parameter also, similar to what is shown around 7:30 in the video about Using VBO to load list of objects into Rules. Here is a summary of what is shown in this video:


  
  You need a view that lists the entities you want to work on in Rules. Note that you don't need a display of the view – and it might even be better not to have one if you don't want the view to be displayed somewhere.
  However, you need one bulk operations field. The type of bulk operations field determines what entity type will be sent to Rules. Note that you don't need any actions enabled for the field – it is enough that it is present.
  You need a rule that, as an action, loads entities from a VBO. (This is available under the "Views bulk operations" group.) All view displayes with at least one VBO field will be selectable.
  The action provides a list of entities, that can be used just like other lists in Rules. Combine with loops, actions and Rules Scheduler to make awesomeness happen.