Forums

Google XML Sitemaps
Getting a PHP error (2 posts)

  1. djeyewater
    Member
    Posted 4 months ago #

    I am getting the following PHP error at the top of the sitemap:

    Warning: Invalid argument supplied for foreach() in /wp-includes/query.php on line 2747
    
    Warning: Cannot modify header information - headers already sent by (output started at /wp-includes/query.php:2747) in /wp-content/plugins/google-sitemap-generator/sitemap-core.php on line 1505

    This is with version 4.0beta4 on a multisite installation. I have disabled all other plugins.

    http://wordpress.org/extend/plugins/google-sitemap-generator/

  2. djeyewater
    Member
    Posted 4 months ago #

    Doesn't help me any, but here's the xdebug stack trace: http://pastebin.com/YT8LRkmV

    Maybe wp always tries to gets posts, so for the sitemap, which does not contain any posts, it gets messed up?

Reply

You must log in to post.

About this Plugin

About this Topic