Support » Installing WordPress » Catchable Fatal Error after 2.9 install! Except when logged on as Admin

  • bcolwin

    (@bcolwin)



    Just installed 2.9 and now get the following error when clicking on a post …

    Catchable fatal error: Object of class WP_Error could not be converted to string in \wp-content\themes\magazine_10\tools\breadcrumbs.php on line 59

    But I DON’T get the error when logged on as Admin. Any suggestions?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Maybe in breadcrumbs.php there is any only-admin function?

    Can you look line 59 of breadcrumbs.php and tell us what is failing?
    Thanks.

    I too am experiencing the same issue message.

    However, it is only happening for me when someone opts in to newsletter subscription with GetResponse. It opts them in okay, but then when it redirects them back to my site, it comes up with the same message as bcolwin posted.

    I am not sure how to get to line 59 or what to look for.

    Has anyone got any suggestions about this issue?

    Many thanks for your help.

    This is the line 59 that is causing the issue
    I’ve commented it out and it seems to work now, but I can’t seem to work out why its doing it

    if ($cat->parent != 0) {
    $output .= get_category_parents($cat->term_id, true, ” “.$sep.” “);
    } else {
    //$output .= ‘term_id).'”>’.$cat->name.’ ‘.$sep.’ ‘;
    }

    Thank you alborzf.

    I deleted out that section that you indicated above (I was assuming I had to delete the whole thing?).

    I am pleased I am no longer getting the error message.

    However, when I opt in to the newsletter subscription form, it is now saying the following:

    “Sorry, no posts matched your criteria.”

    The confirmation URL just goes back to my home page… so I am not sure why it is stating that.

    Do you have any ideas? Wasn’t sure if I was just meant to delete the blue highlighted bits indicated above, instead of the entire paragraph you have listed above?

    Thanks for your help 🙂

    The issue is a conflict between Studiopress themes breadcrumbs file and WP Ajax Edit Comments plugin.

    If you disabled that plugin it works fine. Nonetheless I have got both parties working on the problem as I need both plugins running together.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Catchable Fatal Error after 2.9 install! Except when logged on as Admin’ is closed to new replies.