• I use All-in-One Event Calendar and when i try to make a collapse menu with “Collapsing Categories” plugin, nothing appears.
    Moreover when , in the settings of “Collapsing Categories” , check “Show empty categories” the following message appears:

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

    lines 60 and 61 are :

    } elseif ($cat->taxonomy==’category’) {
    $link = “<a href='”.get_category_link($the_cat).”‘ “;

    can anybody help me please???

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Some function returned a WP_Error instead of the expected usual object, before getting to line 61. The error should have been trapped when it was originally returned. Line 61 is unrelated to the error, it is just the point where PHP could not progress further.

    You need to contact the plugin author for resolution.

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