Whoops, there was a problem in the switch. You passed: to the switch statement in rpc.php.