WordPress.org

Ready to get started?Download WordPress

Forums

Google XML Sitemaps
sitemap-loader.php PHP Warning: Missing argument 2 (1 post)

  1. kejebe
    Member
    Posted 3 years ago #

    I'm using the beta version google-sitemap-generator.4.0b4.zip and have no problems under WordPress 3.1. One of my older blogs is still using WordPress 2.9.2 and for some reason it doesn't seem to work correctly.

    I receive the following error message: PHP Warning: Missing argument 2 for GoogleSitemapGeneratorLoader::KillFrontpagePosts() in /wp-content/plugins/google-sitemap-generator/sitemap-loader.php on line 129.

    Here is line 129 from sitemap-loader.php function KillFrontpagePosts( $sql, &$query ) {

    Also within the wordpress admin section for XML-Sitemap the page doesn't completely load. It stops where it should be showing the ranking I want to give to each page, title, tag and so on. Hence there is no submit button to save changes I make to that page.

    I have deactivated the plugin and went back to google-sitemap-generator.3.2.4.zip which appears to be working just fine although I prefer the way the new system creates the sub sitemaps instead of everything on one page.

    If you do a Google search for 'sitemap-loader.php PHP Warning: Missing argument 2' you will see a lot of websites that are having this same problem.

    I know I should update my version of WordPress but I'm hesitant to do this because the blog is working just fine and I have other plugins that would also require updating if I do so I prefer not to have to upgrade the whole entire site just to use one extra plugin.

    Kevin.

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic