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).

CommentFileSizeAuthor
no-includes.png8.84 KBklonos
no-name.png13.62 KBklonos
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

xurizaemon’s picture

Status: Active » Postponed (maintainer needs more info)

Sorry, 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.

klonos’s picture

Just 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:

Notice: Undefined index: name in system_sort_modules_by_info_name() (line 909 of .../modules/system/system.admin.inc).
Notice: Undefined index: name in system_sort_modules_by_info_name() (line 909 of .../modules/system/system.admin.inc).
Notice: Undefined index: name in system_sort_modules_by_info_name() (line 909 of .../modules/system/system.admin.inc).
Notice: Undefined index: name in system_sort_modules_by_info_name() (line 909 of .../modules/system/system.admin.inc).
Notice: Undefined index: name in system_sort_modules_by_info_name() (line 909 of .../modules/system/system.admin.inc).
Notice: Undefined index: name in system_sort_modules_by_info_name() (line 909 of .../modules/system/system.admin.inc).
Notice: Undefined index: name in system_sort_modules_by_info_name() (line 909 of .../modules/system/system.admin.inc).
Notice: Undefined index: name in system_sort_modules_by_info_name() (line 909 of .../modules/system/system.admin.inc).
Notice: Undefined index: name in system_sort_modules_by_info_name() (line 909 of .../modules/system/system.admin.inc).
Warning: uasort(): Array was modified by the user comparison function in system_modules() (line 769 of .../modules/system/system.admin.inc).
Notice: Undefined index: name in _system_modules_build_row() (line 942 of .../modules/system/system.admin.inc).
Notice: Undefined index: name in system_modules() (line 866 of .../modules/system/system.admin.inc).

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):

Notice: Undefined index: name in _update_process_info_list() (line 181 of .../modules/update/update.compare.inc).
klonos’s picture

...could this be a php 5.3.x issue?

xurizaemon’s picture

Assigned: Unassigned » xurizaemon
Status: Postponed (maintainer needs more info) » Fixed

Well, 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 :)

klonos’s picture

...thanx ;)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.