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 have clean installation on Drupal 7.4.
In the Module help index page (/admin/advanced_help) I have the warning:
Notice: Undefined index: name in advanced_help_index_page() (line 209 in /autoinstalator/drupal/sites/all/modules/advanced_help/advanced_help.module).
Comment | File | Size | Author |
---|---|---|---|
#11 | advanced_help-1209182-11.patch | 525 bytes | mvc |
Comments
Comment #1
Higarigh CreditAttribution: Higarigh commentedsame problem here, but with Drupal 7.2, any suggestions?
Comment #2
elfur CreditAttribution: elfur commentedsame problem here, D7.5.
Comment #3
BenStallings CreditAttribution: BenStallings commentedThis is not a serious error, it's just annoying, and it probably only shows up with certain error-reporting settings, so many people may not be able to replicate the problem.
The error can be suppressed by changing line 209 from
to
See http://php.net/manual/en/language.operators.errorcontrol.php for explanation.
Comment #4
lambic CreditAttribution: lambic commentedHere's a patch that uses the value from the name column if name isn't set in info.
Comment #5
lambic CreditAttribution: lambic commentedComment #6
porg CreditAttribution: porg commentedThe fix as described in #3 worked ony my Drupal 7.8 installation.
Comment #7
StephenRobinson CreditAttribution: StephenRobinson commentedI have the same error in Drupal 7.9 on /admin/advanced_help with 7.x-1.0
debug shows is profile module:
easy fix:
Comment #8
axle_foley00 CreditAttribution: axle_foley00 commentedThis error still seems to show up in 7.x-1.0. Will this fix be rolled into an official release soon?
Comment #9
gippy CreditAttribution: gippy commentedTo echo axle_foley00 in #8, this is a minor problem, but it's an easy fix that has been out there since Sept 2011. It would be nice to at least get it out in the dev version. The fix in the patch in #4 when applied to dev resolved the problem for me.
Comment #10
mvcpatch in #4 works for me.
Comment #11
mvcgah, a new version came out yesterday without this patch -- that's what i get for not marking this as RTBC earlier.
lambic's one line patch still fixes the problem. re-rolled against latest dev, so it can be committed and included in the next stable release, if there ever even is one for D7.
Comment #12
redndahead CreditAttribution: redndahead commentedSorry about that. I have committed the patch. At least it will be in dev.
Comment #14
apperceptions CreditAttribution: apperceptions commentedfyi, still and open issue.
line mentioned in #3 is now on line 233