Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: bojanz commentedCaused by a silly typo. Committed a fix.
Comment #2
ryantollefson CreditAttribution: ryantollefson commentedThanks, seems to be fixed. :)
Comment #4
rjbrown99 CreditAttribution: 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.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.
Comment #6
bojanz CreditAttribution: bojanz commentedNo, nothing was done for d6
Comment #7
bojanz CreditAttribution: bojanz commentedCommitted to 6.x-1.x
Comment #9
drupaleze CreditAttribution: drupaleze as a volunteer and 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'])) {