[Plugin: Google XML Sitemaps] Fatal Error (3 posts)

  1. scamout
    Posted 7 years ago #

    I'm running WP 2.5 and just upgraded Sitemaps to 3.1.2 by uploading it to the server.

    When I go to Settings/XML-Sitemap I'm getting a fatal error in the "excluded Items" section:
    Excluded categories:
    Note: Using this feature will increase build time and memory usage!

    Fatal error: Call to undefined function wp_category_checklist() in /home/scamout/public_html/blog/wp-content/plugins/google-sitemap-generator/sitemap-ui.php on line 999

    Output is dying at that point and I cannot save any settings because the SAVE button isn't there.

    It appears that a valid sitemap is being generated.

    Any ideas about what's up?

  2. Arne Brachhold
    Posted 7 years ago #

    Upps, this function is available from WP 2.5.1, but the plugin only checks for 2.5.

    Please open the sitemap-ui.php in Notepad and search for
    <b><?php _e('Excluded categories', 'sitemap') ?>:</b>

    below there should be:
    <?php if(version_compare($wp_version,"2.5",">=")): ?>
    replace this with:
    <?php if(version_compare($wp_version,"2.5.1",">=")): ?>

    This will disable the feature, since it is not supported in this older versions...

    Or consider updating your WP installation ;-)

  3. scamout
    Posted 7 years ago #

    thank you very much arnee!

    I'd update, but last time I did that it took me almost a week to get my blog in order. Updating is a nightmare that I don't want to subject myself to. :- (

Topic Closed

This topic has been closed to new replies.

About this Topic