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 installing and enabling this module, I receive the following errors on the /admin/content page:
------
Notice: Undefined offset: 0 in _menu_check_access() (line 634 ... /menu.inc).
Notice: Undefined offset: 1 in _menu_check_access() (line 634 ... /menu.inc).
Notice: Undefined offset: 0 in _menu_check_access() (line 634 ... /menu.inc).
Notice: Undefined offset: 1 in _menu_check_access() (line 634 ... /menu.inc).
------
The administration view form appears to work despite these notices. How can these notices be made to go away?
Comments
Comment #1
hbat66 CreditAttribution: hbat66 commentedComment #2
hbat66 CreditAttribution: hbat66 commentedComment #3
Anuradha Suryawanshi CreditAttribution: Anuradha Suryawanshi commentedYou should change
'access callback' => 'user_access',
to
'access callback' => TRUE,
in your hook_menu
Or you can provide permissions
Comment #4
damiankloip CreditAttribution: damiankloip commentedAre you using 7.x-1.2? I would first update the module.
Comment #5
prabhakarb CreditAttribution: prabhakarb at Capgemini commentedIssue resolved. See at https://www.drupal.org/node/1880166#comment-11865959
Comment #6
solideogloria CreditAttribution: solideogloria commentedDuplicate of #1880166: Notice : Undefined offset