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.
I get this error with latest d7 dev and latest 7.x-dev of this module. It comes up even if the module is disabled!
Simply having extracted the module files in the ../sites/all/modules directory and visiting the modules' page (../admin/modules) in order to enable it, throws this:
Notice: Undefined index: name in system_sort_modules_by_info_name() (line 984 of /var/www/d7test/modules/system/system.admin.inc).
Notice: Undefined index: name in system_sort_modules_by_info_name() (line 984 of /var/www/d7test/modules/system/system.admin.inc).
Notice: Undefined index: name in system_sort_modules_by_info_name() (line 984 of /var/www/d7test/modules/system/system.admin.inc).
Notice: Undefined index: name in system_sort_modules_by_info_name() (line 984 of /var/www/d7test/modules/system/system.admin.inc).
Notice: Undefined index: name in system_sort_modules_by_info_name() (line 984 of /var/www/d7test/modules/system/system.admin.inc).
Notice: Undefined index: name in system_sort_modules_by_info_name() (line 984 of /var/www/d7test/modules/system/system.admin.inc).
Notice: Undefined index: name in system_sort_modules_by_info_name() (line 984 of /var/www/d7test/modules/system/system.admin.inc).
Warning: uasort(): Array was modified by the user comparison function in system_modules() (line 842 of /var/www/d7test/modules/system/system.admin.inc).
Notice: Undefined index: name in _system_modules_build_row() (line 1017 of /var/www/d7test/modules/system/system.admin.inc).
Notice: Undefined index: name in system_modules() (line 941 of /var/www/d7test/modules/system/system.admin.inc).
Notice: Undefined index: name in _update_process_info_list() (line 181 of /var/www/d7test/modules/update/update.compare.inc).
The module's name is empty in the list (see screenshot).
In the Available Updates page (../admin/reports/updates) I get only the last line of the warning/notice and the module has an empty 'Includes' field (see 2nd screenshot).
Comment | File | Size | Author |
---|---|---|---|
no-includes.png | 8.84 KB | klonos | |
no-name.png | 13.62 KB | klonos |
Comments
Comment #1
xurizaemonSorry, I've not dug much into D7 development of this module yet. There are some similar reports which indicate the error may go away fairly quickly? Did that happen for you?
If not, perhaps take a look at http://drupal.org/node/224333 and see if you can identify the issue / what needs to be done here. I don't see anything obvious.
Related to #670840: Port Menu breadcrumb module to Drupal 7.
Comment #2
klonosJust gave it another try with fresh d7 beta3 and the latest dev of this module (fresh setup with only admin_menu enabled). Same things happen as described in #0, only this time line numbers have changed:
The issues with the missing module name in the module list and the empty 'includes:' field are still there too (see screenshots in #0).
This time, I've noticed that I get this error when I browse the site's 'Status report' page (../admin/reports/status) or the Available updates page (../admin/reports/updates):
Comment #3
klonos...could this be a php 5.3.x issue?
Comment #4
xurizaemonWell, that's a bit embarrassing.
$Id$
at the start of the .info file was uncommented in CVS. Did I say "I don't see anything obvious" up above?Fixed in CVS.
You can probably move directly from here to #670840: Port Menu breadcrumb module to Drupal 7 and start contributing your error reports / patches to that issue :)
Comment #5
klonos...thanx ;)