ImageBundle icon indicating copy to clipboard operation
ImageBundle copied to clipboard

FatalErrorException in RssFeed.php line 0: Method Suin\RSSWriter\Feed::__toString() must not throw an exception

Open mmlsx opened this issue 8 years ago • 2 comments

Hi, following composer require suin/php-rss-writer I installed correctly this bundle,but when I try to use

$rss = $feed->getRSS();
return response($rss) ->header('Content-type', 'application/rss+xml');

it gives me thi error:

FatalErrorException in RssFeed.php line 0: Method Suin\RSSWriter\Feed::__toString() must not throw an exception in RssFeed.php line 0

any idea on what's wrong? thanks

mmlsx avatar Nov 23 '16 06:11 mmlsx

Hello, How is your issue related with this bundle? Reading your message, you likely should consider opening an issue on https://github.com/suin/php-rss-writer

Gregwar avatar Nov 23 '16 06:11 Gregwar

It has been resolved, thank you.

mmlsx avatar Nov 25 '16 03:11 mmlsx