[wp-trac] [WordPress Trac] #5097: Tag-related issues with wp_rewrite in 2.3

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 28 12:13:37 GMT 2007


#5097: Tag-related issues with wp_rewrite in 2.3
---------------------+------------------------------------------------------
 Reporter:  kaeru    |       Owner:  anonymous
     Type:  defect   |      Status:  new      
 Priority:  normal   |   Milestone:  2.5      
Component:  General  |     Version:  2.3      
 Severity:  normal   |    Keywords:           
---------------------+------------------------------------------------------
 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.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5097>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list