Hi,

With enabling an action in the view build with the bulk operation view type I got following error:

warning: array_unshift() [function.array-unshift]: The first argument should be an array in /home/modules/views_bulk_operations/views_form.inc on line 57.

Thanks for going into this!

Greetings,
Martijn

CommentFileSizeAuthor
#1 views_bulk_operation.jpg70.34 KBsummit

Comments

summit’s picture

StatusFileSize
new70.34 KB

May be this is a duplicate of: http://drupal.org/node/202961, but I am not sure.
I attach a picture of what I am seeing using this module. The module works I think, but I am not seeing the nodes.....

EDIT:
The bug is gone with:

if ($view->table_header[0] != $extra) {
if (is_array($view->table_header)) {
array_unshift($view->table_header, $extra);
}
}

but.... the terms are still not shown...so I don't know which nodes I am updating...
NEXT EDIT AHH..I needed to select a field to show on the view....now I see my node titles.. so fixed myself, but the errorfixing may be easy to patch
Thanks in advance!
greetings,
Martijn

infojunkie’s picture

Assigned: Unassigned » infojunkie
Status: Active » Fixed

Thanks added the suggested condition.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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