WordPress.org

Ready to get started?Download WordPress

Forums

XML Sitemap & Google News feeds
[resolved] Bug report (2 posts)

  1. tomdxw
    Member
    Posted 6 months ago #

    Hi,

    PHP Warning: Invalid argument supplied for foreach() in [redacted]/wp-content/plugins/xml-sitemap-feed/includes/core.php on line 956

    get_option() doesn't always return an array. When it doesn't return an array this error occurs.

    Thanks,
    Tom Adams
    dxw

    https://wordpress.org/plugins/xml-sitemap-feed/

  2. RavanH
    Member
    Plugin Author

    Posted 6 months ago #

    Hi Tom, strictly speaking it's not an error but a warning. I suppose your site is in development and you have WP_DEBUG on? In that case, you might want to download the development version of this plugin too. Find it on http://wordpress.org/plugins/xml-sitemap-feed/developers/ under Other Versions.

    Do let me know if you run into any more warnings with that version :)

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.