Due to the changes in #1385222: Rules action to load all entity IDs of a view, there is the $vbo variable missing in views_bulk_operations_action_load_list().

This leeds to an error like:

Error: Call to a member function get_entity_type() on a non-object in [....]/views_bulk_operations/views_bulk_operations.rules.inc, line 160

I'll post a patch for that in the next comment.

CommentFileSizeAuthor
#1 error-vbo-get_entity_type-1411450-1.patch902 bytesderhasi

Comments

derhasi’s picture

Status: Active » Needs review
StatusFileSize
new902 bytes

And there is the patch.

bojanz’s picture

Status: Needs review » Fixed

Committed. Thanks

Status: Fixed » Closed (fixed)

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

areynolds’s picture

Version: 7.x-3.x-dev » 7.x-3.1
Priority: Major » Normal
Status: Closed (fixed) » Active

Getting this error on 7.x-3.1 and 7.x-3-dev:

Call to a member function get_entity_type() on a non-object in views_bulk_operations/views_bulk_operations.rules.inc on line 162

It appears that this is running on cron; I don't have any scheduled Rules, but I'm wondering if one of my rules is corrupt...

areynolds’s picture

Status: Active » Closed (fixed)

...and as I suspected, a Rule was relying upon a broken VBO field. Disregard.