Forums

Join
bbPress Support ForumsTroubleshootingFatal error: Unsupported operand types

Info

Fatal error: Unsupported operand types

  1. Running 0.8, whenever I try to make someone a "bozo", I receive the following error:

    Fatal error: Unsupported operand types in /home/scifihe/public_html/forums/bb-includes/akismet.php on line 79

    Any ideas?

  2. I have a wild guess. Looking at line 79 of bb-includes/akismet.php (in 0.80) shows this:

    'comment_author' => get_user_name( $user-ID ),

    and I think it's missing a > between $user- and ID

    'comment_author' => get_user_name( $user->ID ),

    If that fixes it, I can file a trac ticket.

  3. I tested it out as I have the same error! It did fix it and a TRAC ticket needs to be created! Good catch! It was your find chrihajer! You post the ticket!

    Trent

  4. I will post it later today. Minor one, I think :)

  5. Yeah, just so everyone knows, the error comes out, but the user is still marked as a BOZO, so the desired result is still there.

    Trent

  6. That worked - thanks very much!

  7. chrishajer, Thanks much!

  8. You must log in to post.