Recieving all sorts of errors on media page