Skip to:
Content
Pages
Categories
Search
Top
Bottom

Fatal error: Unsupported operand types

  • @chrismcquillan

    Member

    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?

Viewing 7 replies - 1 through 7 (of 7 total)
  • @chrishajer

    Participant

    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.

    @trent

    Member

    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

    @chrishajer

    Participant

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

    @trent

    Member

    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

    @chrishajer

    Participant

    @chrismcquillan

    Member

    That worked – thanks very much!

    @mdawaffe

    Member

    chrishajer, Thanks much!

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Skip to toolbar