View Issue Details

IDProjectCategoryView StatusLast Update
0035312mantisbtrsspublic2025-03-01 18:40
Reporterraspopov Assigned Tocommunity  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformMicrosoftOSWindows ServerOS Version2022
Product Version2.27.0 
Target Version2.27.1Fixed in Version2.27.1 
Summary0035312: RSS Builder PHP deprecation warnings on PHP 8.1+
Description

When opening news_rss.php the next error reported:

This page contains the following errors:
error on line 1 at column 205: Extra content at the end of the document
Below is a rendering of the page up to the first error.
DEPRECATED: 'Creation of dynamic property RSSBuilder::$rss_data["encoding"] is deprecated' in 'library\rssbuilder\class.RSSBase.inc.php' line 31
TagsPHP 8.1

Relationships

related to 0024145 new Replace rssbuilder with a well maintained library via composer 

Activities

raspopov

raspopov

2025-02-11 12:25

reporter   ~0069851

PR for this: https://github.com/mantisbt/mantisbt/pull/2094

By the way, I converted an original SVN repository from Google Code Archive to GitHub (not sure why): https://github.com/raspopov/flaimo-php

dregad

dregad

2025-02-12 08:34

developer   ~0069854

Problem confirmed on PHP 8.1 and later

Thanks for the PR.

converted an original SVN repository from Google Code Archive to GitHub (not sure why): https://github.com/raspopov/flaimo-php

Thank for the info. Don't know why either ;-)
Not sure we'd leverage your GitHub repo, it's probably better to invest time in replacing this outdated, unmaintained library (see 0024145), which suffers from several other issues.

Related Changesets

MantisBT: master-2.27 4d0be3fd

2025-02-11 12:16

raspopov

Committer: dregad


Details Diff
Fix PHP deprecated warnings causing RSS output to be blocked

Fixes 0035312
Affected Issues
0035312
mod - library/README.md Diff File
mod - library/rssbuilder/class.ObjectIterator.inc.php Diff File
mod - library/rssbuilder/class.ObjectList.inc.php Diff File
mod - library/rssbuilder/class.RSSBase.inc.php Diff File