Skip to content

PHP Warning: Extra content at the end of the document #22

@kimu

Description

@kimu

Hi, I'm getting this error, which makes the rss file unaccessible, every 4-5 days.

PHP Warning: simplexml_load_string(): Entity: line 23: parser error : Extra content at the end of the document in /vendor/bundles/Nekland/FeedBundle/Loader/RssLoader.php on line 31

Then I delete the .rss file created by the bundle in web/feeds and everything work properly for another 4-5 days.

The warning is often followed by other warnings like
PHP Warning: simplexml_load_string(): ^ in /vendor/bundles/Nekland/FeedBundle/Loader/RssLoader.php on line 31

At that point the rss file is not a valid rss anymore and the server shows a 500 error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions