[wp-trac] [WordPress Trac] #16282: PHP catchable error with get_term_link and WP3.1RC2

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 27 07:17:41 UTC 2011

#16282: PHP catchable error with get_term_link and WP3.1RC2
 Reporter:  illutic                     |       Owner:
     Type:  defect (bug)                |      Status:  reopened
 Priority:  normal                      |   Milestone:  Future Release
Component:  Multisite                   |     Version:  3.1
 Severity:  major                       |  Resolution:
 Keywords:  has-patch needs-unit-tests  |

Comment (by dd32):

 Marked #16385 as duplicate:

 > I have in index.php the line 6:
 > <a href="<?php echo get_category_link(get_theme_mod('featured'));
 ?>"><?php echo cat_id_to_name(get_theme_mod('featured')); ?></a>

 > In Wordpres 3.0.4 works perfect, but in WordPress 3.1 RC3:
 > Catchable fatal error: Object of class WP_Error could not be converted
 to string in C:\wamp\www\wordpress\wp-content\themes\cvasi-
 magazine\index.php on line 6

Ticket URL: <http://core.trac.wordpress.org/ticket/16282#comment:62>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list