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
Comment #1
bojanz commentedCaused by a silly typo. Committed a fix.
Comment #2
ryantollefson commentedThanks, seems to be fixed. :)
Comment #4
rjbrown99 commentedThis 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...
Comment #5
olafskiI 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.incDoes 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.
Comment #6
bojanz commentedNo, nothing was done for d6
Comment #7
bojanz commentedCommitted to 6.x-1.x
Comment #9
drupaleze commentedFor 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'])) {