Search doesn't always work and many wallpapers don't load anymore

When searching in the ‘Search 701 wallpapers from 142 artists’ box, it doesn’t always update the images. Even after pressing search. And when I do find a wallpaper I like, it either loads for a while and then says ‘Wallpaper (name) not found’ or just gives me a 500 Origin Error such as:

I was updating the site and it should be working now.