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.
The full error text is:
Notice: Undefined index: #verbs in theme_permissions_grid_admin_node_permissions_form() (line 151 of /private/var/www/awesome/site/sites/all/modules/contrib/permission_grid/permissions_grid.admin.inc).
Warning: array_merge(): Argument #2 is not an array in theme_permissions_grid_admin_node_permissions_form() (line 152 of /private/var/www/awesome/site/sites/all/modules/contrib/permission_grid/permissions_grid.admin.inc).
Warning: Invalid argument supplied for foreach() in element_children() (line 6400 of /private/var/www/awesome/site/includes/common.inc).
and occurs when you access the permission grid for a role but don't have any vocabularies configured in the site. Adding a vocabulary (without any terms) resolves the error. Removing the vocabulary and the error returns.
Admit this is an edge case but should be easy to resolve.
Comment | File | Size | Author |
---|---|---|---|
Screen shot 2013-04-07 at 21.45.21.png | 85.67 KB | rsaddington |
Comments
Comment #1
my-family CreditAttribution: my-family commentedI experienced the same problem
Comment #2
joachim CreditAttribution: joachim commentedCommitted a fix. Thanks for reporting!
Comment #5
oryx CreditAttribution: oryx commentedI tried with 7.x-1.3 and 7.x-1.x : they are both still showing this error. I though the above patch was committed to 7.x-1.x ?
Thanks,