After updating from PHP 5.2 -> 5.4, I am getting the following error:

Warning: Illegal string offset 'parameters' in views_bulk_operations_operation_advanced_action_list() (line 85 of ...\sites\all\modules\views_bulk_operations\plugins\operation_types\action.inc).

It doesn't seem to affect anything, just an annoying notice. Thanks.

Comments

bojanz’s picture

Status: Active » Fixed

Caused by a silly typo. Committed a fix.

ryantollefson’s picture

Thanks, seems to be fixed. :)

Status: Fixed » Closed (fixed)

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

rjbrown99’s picture

Version: 7.x-3.x-dev » 6.x-3.x-dev
Status: Closed (fixed) » Patch (to be ported)

This is also an issue in the 6.x code base, same fix is required.

Here's the 7.x commit:
http://drupalcode.org/project/views_bulk_operations.git/commitdiff/60376...

Olafski’s picture

I get a similar message using VBO 6.x on PHP 5.4:

Illegal string offset 'parameters' in .../sites/all/modules/views_bulk_operations/views_bulk_operations_plugin_style.inc

Does anyone know, if the patch has already ported and/or committed to VBO 6.x?

Edit: The message is refering to line 354 of the file.

bojanz’s picture

No, nothing was done for d6

bojanz’s picture

Version: 6.x-3.x-dev » 6.x-1.x-dev
Status: Patch (to be ported) » Fixed

Committed to 6.x-1.x

Status: Fixed » Closed (fixed)

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

drupaleze’s picture

Issue summary: View changes

For any still having this problem, I fixed mine by changing the parameters from:
if (isset($static_actions[$action->callback['parameters']])) {
on line 85
to:
if (isset($static_actions[$action->callback]['parameters'])) {