• scamout

    (@scamout)


    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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Arne

    (@arnee)

    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 ??

    Thread Starter scamout

    (@scamout)

    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. :- (

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Google XML Sitemaps] Fatal Error’ is closed to new replies.