Closed (fixed)
Project:
RedHen Membership
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
4 Dec 2012 at 20:24 UTC
Updated:
21 Feb 2013 at 00:00 UTC
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
Comment #1
levelos commentedComment #2
levelos commented