WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Tag-related issues with wp_rewrite in 2.3 (3 posts)

  1. kaeru
    Member
    Posted 6 years ago #

    I'm having trouble getting tagging to work in 2.3. I've upgraded my blog without trouble. I have converted all my categories to tags, which went fine as well. The issue is when I try to update my permalinks for tags or display tags on my blog.

    In the permalinks panel, it throws the following error after I try to specify a tag base.

    Fatal error: Call to undefined method WP_Rewrite::set_tag_base() in /home/.pug/karsalfrink/leapfrog.nl/blog/wp-admin/options-permalink.php on line 81

    On the blog, it throws the following error for the template tag <p><?php the_tags(); ?></p>:

    Fatal error: Call to undefined method WP_Rewrite::get_tag_permastruct() in /home/.pug/karsalfrink/leapfrog.nl/blog/wp-includes/category-template.php on line 423

    And this error on the archive page where I try to display a default tag cloud using <?php wp_tag_cloud(''); ?>:

    Fatal error: Call to undefined method WP_Rewrite::get_tag_permastruct() in /home/.pug/karsalfrink/leapfrog.nl/blog/wp-includes/category-template.php on line 423

    I've done some digging and found this page:

    http://codex.wordpress.org/Function_Reference/WP_Rewrite

    Where it says:

    It's defined in wp-includes/wp-classes.php and a global singleton, $wp_rewrite, is initialised in wp-settings.php.

    I can find the initialisation in wp-settings.php, but there is no wp-classes.php in my wp-includes directory. Furthermore, I cannot find the file in the WordPress distribution I downloaded on the morning of sep 28.

    Finally, I have verified this is not a theme issue by testing one of the prepackaged themes. The default theme throws exactly the same errors as my own.

    Any help would be greatly appreciated.

  2. kaeru
    Member
    Posted 6 years ago #

    Not really a fix but doing a clean install of WordPress has stopped the above issues from occurring. A bit painful, but acceptable.

  3. iamzero
    Member
    Posted 6 years ago #

    I'm having exactly the same problem but I wonder why a clean install would be necessary; the /wp-includes/wp-classes.php will still not exist after a clean install (/wp-includes/classes.php does exist, but I've got the latest version so how would a clean install make any difference?)

    Any help would still be appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic