This bug has not existed in previous versions:
Notice: Undefined index: meta in end() (line 118 of sites\all\modules\contrib\l10n_update\l10n_update.parser.inc).
Notice: Undefined index: link in end() (line 118 of sites\all\modules\contrib\l10n_update\l10n_update.parser.inc).
Notice: Undefined index: script in end() (line 118 of sites\all\modules\contrib\l10n_update\l10n_update.parser.inc).
Notice: Undefined index: img in end() (line 118 of sites\all\modules\contrib\l10n_update\l10n_update.parser.inc).
Please create a new release after fix.
Repro:
- Enable a new module like Google Analytics
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | l10n_update-parser-php-notice-2310489-3.patch | 692 bytes | sutharsan |
Comments
Comment #1
hass commentedComment #2
hass commentedFound more of these on module uninstall.
Comment #3
sutharsan commentedThis code has not changed since 6.x.
I can not reproduce the problem with a standard Drupal installation. Do you use a custom translation server?
The attached patch can the problem.
Comment #4
hass commentedIs it possible that this is only reproducible with modules not hosted on d.o? e.g. custom_foo modules? I tried to find out, but failed.
Comment #5
sutharsan commentedYes, that is possible. Is it possible the php notice is caused by an error in the xml? it occurs in the code that parses a translation server xml.
Comment #6
hass commentedError in the xml? I do not think so. It's always reproducible. Can i verify the xml somehow? Not sure where it is saved.
Maybe an unknown module gets a 404 error page on d.o and not an xml 404 error...
Comment #8
sutharsan commentedI don't like fixing bugs that I can not reproduce, but this one is trivial.