I have a view using the redhen_membership for the base table. In my view, I've added a VBO field that uses a rules component for assigning taxonomy terms to memberships in bulk. If I have my component selected in the VBO field in my view, I get this error when viewing the views page:

Call to a member function entityType() on a non-object in /path/to/redhen_membership/redhen_membership.module on line 286

$entity is null in this instance. Can a check be added to test if $entity is an object before calling $entity->entityType()?

Thanks,
Mickey

Comments

levelos’s picture

Assigned: Unassigned » tauno
levelos’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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