Unexpected error in form editor