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:

  1. Enable a new module like Google Analytics

Comments

hass’s picture

Issue summary: View changes
hass’s picture

Title: Notice: Undefined index: meta in end() » Notice: Undefined index: meta/link/script/img in end()
Issue summary: View changes

Found more of these on module uninstall.

sutharsan’s picture

Version: 7.x-1.0 » 7.x-1.x-dev
Priority: Major » Normal
Status: Active » Needs review
StatusFileSize
new692 bytes

This bug has not existed in previous versions:

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

hass’s picture

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

sutharsan’s picture

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

hass’s picture

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

  • Sutharsan committed bfedf1b on 7.x-1.x
    Issue #2310489 by Sutharsan | hass: Fixed Notice: Undefined index: meta/...
sutharsan’s picture

Status: Needs review » Fixed

I don't like fixing bugs that I can not reproduce, but this one is trivial.

Status: Fixed » Closed (fixed)

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