WordPress.org

Ready to get started?Download WordPress

Forums

MesoColumn
[resolved] Category menu Catchable Fatal Error (4 posts)

  1. Wastabik
    Member
    Posted 10 months ago #

    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.

  2. Richie KS
    Member
    Theme Author

    Posted 10 months ago #

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

  3. Wastabik
    Member
    Posted 10 months ago #

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

  4. Wastabik
    Member
    Posted 10 months ago #

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

Reply

You must log in to post.

About this Theme

About this Topic