Menu

#9 Object to string conversion

0.5.0
closed-fixed
MAIN (11)
5
2003-07-07
2003-07-07
Anonymous
No

Using the latest CVS version I get PHP Notices when
using some of the commands from irccommands.php.
join():
PHP Notice: Object to string conversion in
irccommands.php on line 102
part():
PHP Notice: Object to string conversion in
irccommands.php on line 126
kick():
PHP Notice: Object to string conversion in
irccommands.php on line 151

Though I havn't tried all the functions..the three lines
from the notices are pretty similar:

$channellist = implode(',', $channelarray);
$channellist = implode(',', $channelarray);
$nicknamelist = implode(',', $nicknamearray);

So I would assume that other functions using the same
line would also give the notice. I have never seen this
error before so I have no clue what it means or how to
fix it.

Discussion

  • Mirco Bauer

    Mirco Bauer - 2003-07-07

    Logged In: YES
    user_id=598557

    I fixed this today in the CVS version, it was a bug with
    conflicting method names in the base IRC class and the
    messagehandlers... checkout the current CVS version and it's
    fixed for your...

    thx for the report

     
  • Mirco Bauer

    Mirco Bauer - 2003-07-07
    • assigned_to: nobody --> meebey
    • status: open --> closed-fixed
     

Log in to post a comment.