$this->current_tag can be empty.
The attached patch fixes the notice.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | update.fetch_.inc-notice.1009376-D6.patch | 1.23 KB | salvis |
| update.fetch_.inc-notice.patch | 1.23 KB | salvis |
$this->current_tag can be empty.
The attached patch fixes the notice.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | update.fetch_.inc-notice.1009376-D6.patch | 1.23 KB | salvis |
| update.fetch_.inc-notice.patch | 1.23 KB | salvis |
Comments
Comment #2
salvisAnother D6 patch that fails to apply. Do I need to add "-D6" to its filename?
Same patch renamed...
Comment #3
salvisComment #4
cmysite commentedNotice: "Undefined index: in update_xml_parser->end() (line 257 of ... drupal\modules\update\update.fetch.inc)."
Enables simpletest 6.x-2.11 module also posible to bring this notices when core module: Update Status enabled.
Comment #5
dww#1006938: Remove PHP warnings from legacy PHP4 XML parser for new update status release history XML
Comment #6
himerus commented+1
Patch works for me.
Comment #7
salvisupdate.fetch_.inc-notice.patch queued for re-testing.
Comment #9
salvisComment #10
gr33nman commentedUsing 6.23-dev...
I am getting numerous instances of this:
"WD php: Undefined index: in /var/www/mysite.com/modules/update/update.fetch.inc on line 256."
when I run drush from here:
/home/myuser/www/mysite.com/sites/all/modules
I should note that www at /home/myuser/www is actually a symlink for /var/www.
However when I run drush from:
/var/www/mysite.com/sites/all/modules
all the errors disappear.
This may offer a clue as to why this is happening for some users in core on some installations.
I hope this helps.
Comment #11
enatheabducr commentedIt worked for me too exactly as it says. Thanks.
Comment #12
gmclelland commented#2 worked for me. Thanks
Comment #13
dwwNote: this issue is closed. Please stop replying here. If you have anything to add, it belongs at #1006938: Remove PHP warnings from legacy PHP4 XML parser for new update status release history XML. Thanks.