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.
Line 257 in function update_xml_parser->end() modules/update/update.fetch.inc
we have :
$this->current_object[strtolower($this->current_tag)] = trim($this->current_object[strtolower($this->current_tag)]);
"$this->current_tag" could be null so that line should changed to :
if (!empty($this->current_tag)) {
$this->current_object[strtolower($this->current_tag)] = trim($this->current_object[strtolower($this->current_tag)]);
}
Thanks
Comments
Comment #1
dww#1006938: Remove PHP warnings from legacy PHP4 XML parser for new update status release history XML