Hi, This is a weird issue: $xmlapi->createacct($accOptions) will generate an internal server error only when it successfully creates the new account. If $xmlapi->createacct($accOptions) returns an error (account already existing ...), then the page will not crash, and the function will return the error message, as it's supposed to do. Is that a known issue? Is there a way to fix it? My error_log is empty, so I can't trace the root of the problem. Thanks.