Nil out the search bar delegate.
Fixed method signature, correctly pass the error.