Error: Invalid value for $view (registration)