in reply to MySQL confusion

called with 3 bind variables when 2 are needed at index.cgi line 786.

$sth->execute(param("member"), param("group"))

Just a guess: Could one of those input parameters be multi-valued? If so, you'll need to flatten it and extra the (single) value you want to pass to the query.