WordPress.org

Support

Support » Themes and Templates » MesoColumn » [Resolved] Category menu Catchable Fatal Error

[Resolved] Category menu Catchable Fatal Error

  • I get this error when I click on the Category Menu:
    Catchable Fatal Error: Object Of Class WP_Error Could Not Be Converted To String In /Home/…../Public_html/Pakhribas/Wp-Content/Themes/Mesocolumn/Lib/Templates/Breadcrumbs.Php On Line 41

    How do I solve it? Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Richie KS

    @rkcorp

    this happen if your category name have character like quote.
    edit lib/templates/headline line 41
    <?php echo get_category_parents($category_id, TRUE, '&nbsp;&nbsp;&raquo;&nbsp;&nbsp;'); ?>
    to
    <?php echo single_cat_title(); ?>

    Where do I find this piece of code? I’m lost here.

    Thanks, I got it and the category menu is working good.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Category menu Catchable Fatal Error’ is closed to new replies.
Skip to toolbar