• Resolved gabomarin26

    (@gabomarin26)


    Hello, I was trying to use this plugin and it works well with the default wordpress post and categories, but when I try to use something like WooCommerce post_types and taxonomies , gives me the following error

    Catchable fatal error: Object of class WP_Error could not be converted to string in wordpress/wp-content/plugins/collapsing-categories/collapscatlist.php on line 61

    I hope your help

    https://wordpress.org/plugins/collapsing-categories/

Viewing 1 replies (of 1 total)
  • Thread Starter gabomarin26

    (@gabomarin26)

    problem solved by replacing that line with
    $link = "<a href='".get_term_link($cat, $cat->taxonomy)."' ";

Viewing 1 replies (of 1 total)
  • The topic ‘Catchable fatal error on custom post_types’ is closed to new replies.