Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mmlsx opened this issue Nov 23, 2016 · 2 comments

Comments

@mmlsx
Copy link

mmlsx commented Nov 23, 2016

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

@Gregwar
Copy link
Owner

Gregwar commented Nov 23, 2016

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

@mmlsx
Copy link
Author

mmlsx commented Nov 25, 2016

It has been resolved, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants