Skip to:
Content
Pages
Categories
Search
Top
Bottom

Fatal error: Unsupported operand types


  • ChrisMcQuillan
    Member

    @chrismcquillan

    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

    @chrishajer

    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 Adams
    Member

    @trent

    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

    @chrishajer

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


    Trent Adams
    Member

    @trent

    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

    @chrishajer


    ChrisMcQuillan
    Member

    @chrismcquillan

    That worked – thanks very much!


    Michael Adams (mdawaffe)
    Participant

    @mdawaffe

    chrishajer, Thanks much!

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