Search no longer works after 3.1.0.beta1 update

Unfortunately, it doesn’t work in Safe mode either. No themes, no plugins mode.