• Resolved Wastabik

    (@wastabik)


    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(); ?>

    Thread Starter Wastabik

    (@wastabik)

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

    Thread Starter Wastabik

    (@wastabik)

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

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