Loading...
 
Skip to main content

Fatal errors when trying to access rss feeds

Status
Closed
Subject
Fatal errors when trying to access rss feeds
Version
15.x
15.x Regression
Category
  • Regression
Feature
RSS
Resolution status
Fixed or Solved
Submitted by
Geoff Brickell
Volunteered to solve
Jonny Bradley
Lastmod by
Geoff Brickell
Rating
(0)
Description

fixed in57848 - thanks Jonny

when accessing rss feeds eg with:
tiki-wiki_rss.php?ver=5
or
tiki-blogs_rss.php?ver=5

a fatal error occurs as follows:
Fatal error: Uncaught exception 'Zend\Feed\Writer\Exception\InvalidArgumentException' with message 'Invalid DateTime object or UNIX Timestamp passed as parameter' in /XXXXXXX/vendor/zendframework/zend-feed/src/Writer/Entry.php:189 Stack trace: #0 / XXXXXXX /lib/rss/rsslib.php(281): Zend\Feed\Writer\Entry->setDateCreated('1457350549') #1 / XXXXXXX /tiki-wiki_rss.php(109): RSSLib->generate_feed('wiki', 'wiki', '', Array, 'tiki-index.php?...', 'previous', 'pageName', 'Tiki RSS feed f...', 'pageName', 'Latest wiki pag...', 'data', 'lastModif', 'user') #2 {main} thrown in / XXXXXXX /vendor/zendframework/zend-feed/src/Writer/Entry.php on line 189




Solution

Should be fixed in r57848?

Confirmed fixed

Importance
10 high
Easy to solve?
9
Priority
90
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5842
Created
Monday 07 March, 2016 17:09:52 UTC
by Geoff Brickell
LastModif
Friday 11 March, 2016 08:26:41 UTC


Show PHP error messages