Laminas Error in D10 only

Created on 11 July 2025, about 1 month ago

Problem/Motivation

I am moving some aggregator feeds from D7 to D10. For example, I want to add this publicly available feed: https://historyhub.history.gov/african-american-records/f/discussions

This works as expected without issue in D7 but returns the following error in 10.5.1

Laminas\Feed\Reader\Exception\RuntimeException: DOMDocument cannot parse XML: Premature end of data in tag head line 2 in Laminas\Feed\Reader\Reader::importString() (line 385 of /appdata/www/d10.qa.archives.gov/drupal/vendor/laminas/laminas-feed/src/Reader/Reader.php).

πŸ› Bug report
Status

Active

Version

2.2

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States sassafrass

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @sassafrass
  • πŸ‡¦πŸ‡ΊAustralia larowlan πŸ‡¦πŸ‡ΊπŸ.au GMT+10

    That's a website URL

    You need to get one of the RSS feed URLs from the <head> of the website.

    
    <link rel="alternate" type="application/rss+xml" title="African American Records (RSS 2.0)" href="https://historyhub.history.gov/african-american-records/rss"  /><link rel="alternate" type="application/rss+xml" title="African American Records Forum - Recent Threads (RSS 2.0)" href="https://historyhub.history.gov/african-american-records/f/discussions/rss?Mode=0"  /><link rel="alternate" type="application/rss+xml" title="African American Records Forum - Recent Posts (RSS 2.0)" href="https://historyhub.history.gov/african-american-records/f/discussions/rss?Threadless=1"  />
    
Production build 0.71.5 2024