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.
When attempting to add new roles to users via VBO, it goes to the role selection screen, then on submit I receive the following message consistently:
Notice: Undefined index: list callback in views_bulk_operations_get_operation() (line 224 of /var/www/drupal-7.31/sites/all/modules/views_bulk_operations/views_bulk_operations.module).
This happened when trying to ADD a single role to all selected users - whether some users already have the role or not.
Tested with all users selected and single user selected.
Comments
Comment #1
panamaquono CreditAttribution: panamaquono commentedsame issue
Comment #2
panamaquono CreditAttribution: panamaquono commentedMine is also the same line -Fatal error: Function name must be a string in "......."/sites/all/modules/views_bulk_operations/views_bulk_operations.module on line 224
Comment #3
scjv CreditAttribution: scjv commentedSame issue:
Apache error_log:
And Dev version gives the same error:
Comment #4
bojanz CreditAttribution: bojanz commentedI've never been able to reproduce this issue, despite several reports.
Please debug it and provide a patch. Thanks!
Comment #5
Uv516 CreditAttribution: Uv516 commentedI have tried the dev from 2014-Oct-01: Same problem.
In one specific moment the line 223: $plugin['list callback']($operation_id); seem to make a system error.
I have tested the line during a process for changing user roles. Many times the line 223 is NOT a string:
Tip to all:
I use this command to test the code - it is pretty good:
Comment #6
GiorgosKHappens to me when "Skip confirmation step" is unchecked
if I check this for the action error goes away