So just updated the theme through wordpress admin panel, but it somehow failed and went to maintenance mode. Deleted the .maintenance file and it is now back, but the search bar broke.
Help https://imgur.com/tZ2WtnZ